|
| FX_STATUS | WS2812BFX_Init (const ws2812b_drv_t *drv, uint16_t Segments) |
| FX_STATUS | WS2812BFX_SegmentIncrease (ws2812b_drv_t *drv) |
| FX_STATUS | WS2812BFX_SegmentDecrease (ws2812b_drv_t *drv) |
| uint8_t | WS2812BFX_GetSegmentsQuantity (void) |
| void | WS2812BFX_SysTickCallback (void) |
| void | WS2812BFX_Callback (void) |
| FX_STATUS | WS2812BFX_ForceAllColor (uint16_t Segment, uint8_t r, uint8_t g, uint8_t b) |
| FX_STATUS | WS2812BFX_Start (uint16_t Segment) |
| FX_STATUS | WS2812BFX_Stop (uint16_t Segment) |
| FX_STATUS | WS2812BFX_IsRunning (uint16_t Segment, uint8_t *Running) |
| FX_STATUS | WS2812BFX_SetMode (uint16_t Segment, fx_mode Mode) |
| FX_STATUS | WS2812BFX_GetMode (uint16_t Segment, fx_mode *Mode) |
| FX_STATUS | WS2812BFX_NextMode (uint16_t Segment) |
| FX_STATUS | WS2812BFX_PrevMode (uint16_t Segment) |
| FX_STATUS | WS2812BFX_SetReverse (uint16_t Segment, uint8_t Reverse) |
| FX_STATUS | WS2812BFX_GetReverse (uint16_t Segment, uint8_t *Reverse) |
| FX_STATUS | WS2812BFX_SetSegmentSize (uint16_t Segment, uint16_t Start, uint16_t Stop) |
| FX_STATUS | WS2812BFX_GetSegmentSize (uint16_t Segment, uint16_t *Start, uint16_t *Stop) |
| FX_STATUS | WS2812BFX_SegmentIncreaseEnd (uint16_t Segment) |
| FX_STATUS | WS2812BFX_SegmentDecreaseEnd (uint16_t Segment) |
| FX_STATUS | WS2812BFX_SegmentIncreaseStart (uint16_t Segment) |
| FX_STATUS | WS2812BFX_SegmentDecreaseStart (uint16_t Segment) |
| FX_STATUS | WS2812BFX_SetSpeed (uint16_t Segment, uint16_t Speed) |
| FX_STATUS | WS2812BFX_GetSpeed (uint16_t Segment, uint16_t *Speed) |
| FX_STATUS | WS2812BFX_IncreaseSpeed (uint16_t Segment, uint16_t Speed) |
| FX_STATUS | WS2812BFX_DecreaseSpeed (uint16_t Segment, uint16_t Speed) |
| void | WS2812BFX_SetColorStruct (uint8_t id, ws2812b_color c) |
| void | WS2812BFX_SetColorRGB (uint8_t id, uint8_t r, uint8_t g, uint8_t b) |
| FX_STATUS | WS2812BFX_GetColorRGB (uint8_t id, uint8_t *r, uint8_t *g, uint8_t *b) |
| void | WS2812BFX_SetColorHSV (uint8_t id, uint16_t h, uint8_t s, uint8_t v) |
| void | WS2812BFX_SetColor (uint8_t id, uint32_t c) |
| FX_STATUS | WS2812BFX_SetAll (uint16_t Segment, uint32_t c) |
| FX_STATUS | WS2812BFX_SetAllRGB (uint16_t Segment, uint8_t r, uint8_t g, uint8_t b) |
| void | WS2812BFX_RGBtoHSV (uint8_t r, uint8_t g, uint8_t b, uint16_t *h, uint8_t *s, uint8_t *v) |
| void | WS2812BFX_HSVtoRGB (uint16_t h, uint8_t s, uint8_t v, uint8_t *r, uint8_t *g, uint8_t *b) |
Rich lighting effects library for WS2812B LEDs ported from Arduino WS2812FX. Provides 58 predefined effects with segment support for independent control of different LED strip sections.
void app_main() {
while(1) {
vTaskDelay(pdMS_TO_TICKS(10));
}
}
@ FX_MODE_RAINBOW_CYCLE
18: Rotating rainbow
Definition ws2812b_fx.h:218
void WS2812BFX_Callback(void)
Definition ws2812b_fx.c:334
FX_STATUS WS2812BFX_Start(uint16_t Segment)
Definition ws2812b_fx.c:516
FX_STATUS WS2812BFX_SetMode(uint16_t Segment, fx_mode Mode)
Definition ws2812b_fx.c:360
FX_STATUS WS2812BFX_Init(const ws2812b_drv_t *drv, uint16_t Segments)
Definition ws2812b_fx.c:215
FX_STATUS WS2812BFX_SetSpeed(uint16_t Segment, uint16_t Speed)
Definition ws2812b_fx.c:737
FX_STATUS WS2812BFX_SetSegmentSize(uint16_t Segment, uint16_t Start, uint16_t Stop)
Definition ws2812b_fx.c:494
#define WS2812B_IF_LEDS
Number of WS2812B LEDs in strip.
Definition ws2812b_drv_RMT.h:98
const ws2812b_drv_t * ws2812b_if_getDrvRMT(void)
Get RMT driver interface.
Definition ws2812b_drv_RMT.c:66
void ws2812b_if_init(void)
Initialize RMT peripheral for WS2812B control.
Definition ws2812b_drv_RMT.c:166
WS2812B driver interface structure.
Definition ws2812b_if.h:81
WS2812B driver implementation using ESP32 RMT peripheral.
WS2812B lighting effects library - Ported from Arduino WS2812FX Library based on https://github....