4#define FASTLED_INTERNAL
14#if SKETCH_HAS_LARGE_MEMORY
36 #if SKETCH_HAS_LARGE_MEMORY
50 while (curr !=
nullptr) {
61 fl::u16 n = nLeds >= 0 ?
static_cast<fl::u16
>(nLeds) :
static_cast<fl::u16
>(
mLeds.size());
78 while (curr !=
nullptr) {
81 if (prev ==
nullptr) {
111 #if FASTLED_HD_COLOR_MIXING
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
CLEDController * controller
void clearLedDataInternal(int nLeds=-1) FL_NOEXCEPT
Zero out the LED data managed by this controller.
static CLEDController * mPTail
pointer to the last LED controller in the linked list
void removeFromDrawList() FL_NOEXCEPT
Remove this controller from the draw list.
RegistrationMode
Registration mode for constructor.
@ AutoRegister
Automatically add to linked list (default, backward compatible)
VIRTUAL_IF_NOT_AVR ~CLEDController() FL_NOEXCEPT
bool isInList() const FL_NOEXCEPT
Check if this controller is in the linked list.
CLEDController(RegistrationMode mode) FL_NOEXCEPT
Protected constructor with registration mode.
void addToList() FL_NOEXCEPT
Add this controller to the linked list.
CRGB getAdjustment(fl::u8 scale) FL_NOEXCEPT
Get the combined brightness/color adjustment for this controller.
CLEDController() FL_NOEXCEPT
Create an led controller object, add it to the chain of controllers.
ChannelOptions mSettings
Optional channel settings (correction, temperature, dither, rgbw, affinity)
static void removeFromList(CLEDController *controller) FL_NOEXCEPT
Remove a controller from the linked list.
CLEDController * mPNext
pointer to the next LED controller in the linked list
static CLEDController * mPHead
pointer to the first LED controller in the linked list
ColorAdjustment getAdjustmentData(fl::u8 brightness) FL_NOEXCEPT
fl::span< CRGB > mLeds
span of LED data used by this controller
base definitions used by led controllers for writing out led data
Internal FastLED header for implementation files.
void * memset(void *s, int c, size_t n) FL_NOEXCEPT
Color adjustment structure for pixel output.
Representation of an 8-bit RGB pixel (Red, Green, Blue)