4#define FASTLED_INTERNAL
25 nLeds = (nLeds < 0) ?
m_nLeds : nLeds;
27 memset((
void*)
m_Data, 0,
sizeof(
struct CRGB) * nLeds);
37 #if FASTLED_HD_COLOR_MIXING
central include file for FastLED, defines the CFastLED class/object
UISlider brightness("Brightness", 255, 0, 255, 1)
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()
ColorAdjustment getAdjustmentData(uint8_t brightness)
CLEDController()
Create an led controller object, add it to the chain of controllers.
EDitherMode m_DitherMode
the current dither mode of the controller
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()
CRGB getAdjustment(uint8_t scale)
Get the combined brightness/color adjustment for this controller.
static CLEDController * m_pHead
pointer to the first LED controller in the linked list
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
Representation of an RGB pixel (Red, Green, Blue)