Live Coding: A Small User Interface with Slint on a Microcontroller

Опубликовано: 30 Сентябрь 2024
на канале: Slint
3,018
63

This is a live coding tutorial on how to use Slint to work on a micro controller.
We'll make a small UI using Slint for a RP2040 (Raspberry pi pico) connected to a screen with SPI.
Slint: http://slint-ui.com
Slint MCU template: https://github.com/slint-ui/slint-mcu...
Slint on MCU docs: https://slint-ui.com/docs/rust/slint/...

The hardware used in this tutorial consists of two components:

1. A Raspberry Pi Pico board with an RP2040 MCU: https://www.raspberrypi.com/products/...
2. A 2.8" Resistive Touch Screen from Waveshare Electronics: https://www.waveshare.com/wiki/Pico-R...

Chapters:

0:00 Intro
0:42 Getting Started with Rust
3:14 Attaching a Screen
16:48 Using Slint
39:10 Adding Support for the Touch Screen
48:55 Adding an Animated Toggle Control
55:54 Outro; Next Steps