embassy-rp

Crates

git

Versions

rp2040

Flavors

Module ws2812

Module ws2812 

Source
Expand description

Structs§

Grb
Green, Red, Blue order is the common default for WS2812B
Grbw
Green, Red, Blue, White order is the common default for RGBW strips
PioWs2812
Pio backed RGB ws2812 driver Const N is the number of ws2812 leds attached to this pin
PioWs2812Program
This struct represents a ws2812 program loaded into pio instruction memory.
Rgb
Red, Green, Blue is used by some WS2812B implementations
Rgbw
Red, Green, Blue, White order
RgbwPioWs2812
Pio backed RGBW ws2812 driver This version is intended for ws2812 leds with 4 addressable lights Const N is the number of ws2812 leds attached to this pin

Traits§

RgbColorOrder
Color orders for WS2812B, type RGB8
RgbwColorOrder
Color orders RGBW strips