HF-WS2812 Driver 0.1.0-dev
HF-WS2812 ESP32 RMT Driver
Loading...
Searching...
No Matches
led_state Struct Reference

Desired colors for a chain of LEDs. More...

#include <ws2812_control.h>

Public Attributes

uint32_t leds [NUM_LEDS]
 

Detailed Description

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.

Member Data Documentation

◆ leds

uint32_t led_state::leds[NUM_LEDS]

Array of packed color values for each LED.


The documentation for this struct was generated from the following file: