Collected demos of rust code running on the raspberry pi pico.
Demos are less interesting when they have nothing but an LED to blink. Hence most of these use an inexpensive LCD display, with a 6 six wire connection to the pico.
display-basic
- A simple demo with display rendering using the embeddded graphics library.blinky-embassy
- The blinky demo for the embassy async framework. Lifted from here, but as a standalone project.display-embassy
- demonstrates the display and touch screen, using embassy async framework.wifi-example
- This is the wifi echo server demo lifted from here, but with status shown on the LCD display. Needs a pico w.
The dev probe is a raspberry pi pico running cmsis-dap firmware. Follow the setup instructions here:
https://github.com/rp-rs/rp2040-project-template/blob/main/debug_probes.md
Install probe-rs. See the docs for methods, eg:
cargo binstall probe-rs
On linux, don't forget to setup the udev rules to allow access as described here:
Once all this is sorted, and a target rpi (non wifi version) is wired up this should work:
cd blinky-embassy
cargo run --release