15#if defined(DmxSimple_h) || defined(FASTLED_DOXYGEN)
21FASTLED_NAMESPACE_BEGIN
32 virtual void init() { DmxSimple.usePin(DATA_PIN); }
38 while(pixels.
has(1)) {
52#if defined(DmxSerial_h) || defined(FASTLED_DOXYGEN)
58FASTLED_NAMESPACE_BEGIN
68 virtual void init() { DMXSerial.init(DMXController); }
73 while(pixels.
has(1)) {
central include file for FastLED, defines the CFastLED class/object
Template extension of the CLEDController class.
DMX512 based LED controller class, using the DMXSerial library.
virtual void init()
Initialize the LED controller.
virtual void showPixels(PixelController< RGB_ORDER > &pixels)
Send the LED data to the strip.
DMX512 based LED controller class, using the DmxSimple library.
virtual void init()
Initialize the LED controller.
virtual void showPixels(PixelController< RGB_ORDER > &pixels)
Send the LED data to the strip.
void stepDithering()
Step the dithering forward.
uint8_t loadAndScale0(int lane, uint8_t scale)
non-template alias of loadAndScale<0>()
void advanceData()
Advance the data pointer forward, adjust position counter.
uint8_t loadAndScale1(int lane, uint8_t scale)
non-template alias of loadAndScale<1>()
uint8_t loadAndScale2(int lane, uint8_t scale)
non-template alias of loadAndScale<2>()
bool has(int n)
Do we have n pixels left to process?