14#if defined(DmxSimple_h) || defined(FASTLED_DOXYGEN)
20FASTLED_NAMESPACE_BEGIN
31 virtual void init() { DmxSimple.usePin(DATA_PIN); }
37 while(pixels.
has(1)) {
51#if defined(DmxSerial_h) || defined(FASTLED_DOXYGEN)
57FASTLED_NAMESPACE_BEGIN
67 virtual void init() { DMXSerial.init(DMXController); }
72 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.
FASTLED_FORCE_INLINE uint8_t loadAndScale1(int lane, uint8_t scale)
non-template alias of loadAndScale<1>()
FASTLED_FORCE_INLINE uint8_t loadAndScale2(int lane, uint8_t scale)
non-template alias of loadAndScale<2>()
FASTLED_FORCE_INLINE uint8_t loadAndScale0(int lane, uint8_t scale)
non-template alias of loadAndScale<0>()
FASTLED_FORCE_INLINE void advanceData()
Advance the data pointer forward, adjust position counter.
FASTLED_FORCE_INLINE bool has(int n)
Do we have n pixels left to process?
FASTLED_FORCE_INLINE void stepDithering()
Step the dithering forward.