|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Configuration structure for the WS2812 handler. More...
#include <Ws2812Handler.h>
Public Attributes | |
| gpio_num_t | gpio_pin {} |
| GPIO pin connected to LED data line. | |
| uint32_t | num_leds {1} |
| Number of LEDs in the strip. | |
| LedType | led_type {LedType::RGB} |
| uint8_t | brightness {255} |
| Global brightness (0-255) | |
| int | rmt_channel {0} |
| RMT channel number. | |
| uint16_t | t0h {400} |
| T0H timing in nanoseconds. | |
| uint16_t | t1h {800} |
| T1H timing in nanoseconds. | |
| uint16_t | t0l {850} |
| T0L timing in nanoseconds. | |
| uint16_t | t1l {450} |
| T1L timing in nanoseconds. | |
Configuration structure for the WS2812 handler.
| uint8_t Ws2812Handler::Config::brightness {255} |
Global brightness (0-255)
| gpio_num_t Ws2812Handler::Config::gpio_pin {} |
GPIO pin connected to LED data line.
| LedType Ws2812Handler::Config::led_type {LedType::RGB} |
| uint32_t Ws2812Handler::Config::num_leds {1} |
Number of LEDs in the strip.
| int Ws2812Handler::Config::rmt_channel {0} |
RMT channel number.
| uint16_t Ws2812Handler::Config::t0h {400} |
T0H timing in nanoseconds.
| uint16_t Ws2812Handler::Config::t0l {850} |
T0L timing in nanoseconds.
| uint16_t Ws2812Handler::Config::t1h {800} |
T1H timing in nanoseconds.
| uint16_t Ws2812Handler::Config::t1l {450} |
T1L timing in nanoseconds.