Example using the PIO to drive WS2812 aka Neopixel RGB leds

This example also uses a pio program compiled at runtime, rather than one built at compile time. There's no reason to do that, but it's probably useful to have an example that does this as well.
This commit is contained in:
Caleb Jamison
2023-03-11 02:58:28 -05:00
parent 055597063f
commit 12d6e37b3f
2 changed files with 143 additions and 0 deletions

View File

@ -28,6 +28,7 @@ embedded-graphics = "0.7.1"
st7789 = "0.6.1"
display-interface = "0.4.1"
byte-slice-cast = { version = "1.2.0", default-features = false }
smart-leds = "0.3.0"
embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
embedded-hal-async = "0.2.0-alpha.0"