|
WS2812 RMT Driver
API reference
|
Desired colors for a chain of LEDs. More...
#include <ws2812_control.h>
Public Attributes | |
| uint32_t | leds [NUM_LEDS] |
Desired colors for a chain of LEDs.
Each element of leds describes one LED. The lower three bytes contain the RGB value in the order R (byte 2), G (byte 1) and B (byte 0). When the driver is configured for RGBW LEDs the most significant byte contains the white channel value. ws2812_write_leds() sends them in the order the LED reads them: green, red, blue, then white.
| uint32_t led_state::leds[NUM_LEDS] |
Array of packed color values for each LED.