Skip to main content

Module led

Module led 

Source
Expand description

The WS2812-class RGB LED on GPIO21, driven by an RMT channel. Get it from crate::rmt::RmtResources::init.

Powered through the LCD backlight pin: it only works while the backlight is fully on. See crate::backlight.

Structs§

RgbLed
The RGB LED.

Constants§

RMT_MHZ
RMT clock this driver’s timings assume (Rmt::new(rmt, 80 MHz)), in MHz.