4#define FASTLED_INTERNAL
26 nLeds = (nLeds < 0) ?
m_nLeds : nLeds;
38 #if FASTLED_HD_COLOR_MIXING
central include file for FastLED, defines the CFastLED class/object
UISlider brightness("Brightness", 128, 0, 255, 1)
static CLEDController * m_pHead
pointer to the first LED controller in the linked list
CRGB getAdjustment(fl::u8 scale)
Get the combined brightness/color adjustment for this controller.
CRGB * m_Data
pointer to the LED data used by this controller
CRGB m_ColorCorrection
CRGB object representing the color correction to apply to the strip on show()
CLEDController()
Create an led controller object, add it to the chain of controllers.
EDitherMode m_DitherMode
the current dither mode of the controller
ColorAdjustment getAdjustmentData(fl::u8 brightness)
CLEDController * m_pNext
pointer to the next LED controller in the linked list
int m_nLeds
the number of LEDs in the LED data array
VIRTUAL_IF_NOT_AVR ~CLEDController()
static CLEDController * m_pTail
pointer to the last LED controller in the linked list
void clearLedDataInternal(int nLeds=-1)
Zero out the LED data managed by this controller.
CRGB m_ColorTemperature
CRGB object representing the color temperature to apply to the strip on show()
base definitions used by led controllers for writing out led data
#define BINARY_DITHER
Enable dithering using binary dithering (only option)
@ UncorrectedTemperature
Uncorrected temperature (0xFFFFFF)
@ UncorrectedColor
Uncorrected color (0xFFFFFF)
#define FASTLED_NAMESPACE_END
#define FASTLED_NAMESPACE_BEGIN
void * memfill(void *ptr, int value, fl::size num)
Representation of an RGB pixel (Red, Green, Blue)