4#define FASTLED_INTERNAL
14#if SKETCH_HAS_LARGE_MEMORY
38 #if SKETCH_HAS_LARGE_MEMORY
57 if (last->
mPNext ==
nullptr) {
67 while (curr !=
nullptr) {
89 fl::u16 n = nLeds >= 0 ?
static_cast<fl::u16
>(nLeds)
90 :
static_cast<fl::u16
>(
mLeds.size() *
lanes());
107 while (curr !=
nullptr) {
110 if (prev ==
nullptr) {
132 #if FASTLED_HD_COLOR_MIXING
fl::UISlider brightness("Brightness", BRIGHTNESS, 0, 255)
CLEDController * controller
virtual int lanes() FL_NO_EXCEPT
How many Lanes does this controller manage?
bool isInList() const FL_NO_EXCEPT
Check if this controller is in the linked list.
RegistrationMode
Registration mode for constructor.
@ AutoRegister
Automatically add to linked list (default, backward compatible)
ColorAdjustment getAdjustmentData(fl::u8 brightness) FL_NO_EXCEPT
void clearLedDataInternal(int nLeds=-1) FL_NO_EXCEPT
Zero out the LED data managed by this controller.
LegacySettings mLegacySettings
bool mFixedWhiteChannel
chipset wire format owns the white policy
void removeFromDrawList() FL_NO_EXCEPT
Remove this controller from the draw list.
VIRTUAL_IF_NOT_AVR ~CLEDController() FL_NO_EXCEPT
static void removeFromList(CLEDController *controller) FL_NO_EXCEPT
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
CLEDController(RegistrationMode mode) FL_NO_EXCEPT
Protected constructor with registration mode.
CLEDController() FL_NO_EXCEPT
Create an led controller object, add it to the chain of controllers.
void addToList() FL_NO_EXCEPT
Add this controller to the linked list.
CRGB getAdjustment(fl::u8 scale) FL_NO_EXCEPT
Get the combined brightness/color adjustment for this controller.
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.
u8 u8 fract8 blur_amount FL_NO_EXCEPT
FASTLED_FORCE_INLINE void * memset(void *s, int c, size_t n) FL_NO_EXCEPT
Color adjustment structure for pixel output.
Representation of an 8-bit RGB pixel (Red, Green, Blue)