FastLED 3.9.13
|
LED strip interface definition.
Definition at line 20 of file led_strip_interface.h.
#include <led_strip_interface.h>
Public Attributes | |
esp_err_t(* | set_pixel )(led_strip_t *strip, uint32_t index, uint32_t red, uint32_t green, uint32_t blue) |
Set RGB for a specific pixel. | |
esp_err_t(* | set_pixel_rgbw )(led_strip_t *strip, uint32_t index, uint32_t red, uint32_t green, uint32_t blue, uint32_t white) |
Set RGBW for a specific pixel. | |
esp_err_t(* | refresh )(led_strip_t *strip) |
Refresh memory colors to LEDs. | |
esp_err_t(* | refresh_async )(led_strip_t *strip) |
esp_err_t(* | refresh_wait_done )(led_strip_t *strip) |
esp_err_t(* | clear )(led_strip_t *strip) |
Clear LED strip (turn off all LEDs) | |
esp_err_t(* | del )(led_strip_t *strip) |
Free LED strip resources. | |
esp_err_t(* led_strip_t::clear) (led_strip_t *strip) |
Clear LED strip (turn off all LEDs)
strip | LED strip |
timeout_ms | timeout value for clearing task |
Definition at line 83 of file led_strip_interface.h.
esp_err_t(* led_strip_t::del) (led_strip_t *strip) |
Free LED strip resources.
strip | LED strip |
Definition at line 94 of file led_strip_interface.h.
esp_err_t(* led_strip_t::refresh) (led_strip_t *strip) |
Refresh memory colors to LEDs.
strip | LED strip |
timeout_ms | timeout value for refreshing task |
Definition at line 67 of file led_strip_interface.h.
esp_err_t(* led_strip_t::refresh_async) (led_strip_t *strip) |
Definition at line 70 of file led_strip_interface.h.
esp_err_t(* led_strip_t::refresh_wait_done) (led_strip_t *strip) |
Definition at line 71 of file led_strip_interface.h.
esp_err_t(* led_strip_t::set_pixel) (led_strip_t *strip, uint32_t index, uint32_t red, uint32_t green, uint32_t blue) |
Set RGB for a specific pixel.
strip | LED strip |
index | index of pixel to set |
red | red part of color |
green | green part of color |
blue | blue part of color |
Definition at line 35 of file led_strip_interface.h.
esp_err_t(* led_strip_t::set_pixel_rgbw) (led_strip_t *strip, uint32_t index, uint32_t red, uint32_t green, uint32_t blue, uint32_t white) |
Set RGBW for a specific pixel.
Similar to set_pixel
but also set the white component
strip | LED strip |
index | index of pixel to set |
red | red part of color |
green | green part of color |
blue | blue part of color |
white | separate white component |
Definition at line 52 of file led_strip_interface.h.