14#if defined(DmxSimple_h) || defined(FASTLED_DOXYGEN)
31 virtual void init() { DmxSimple.usePin(DATA_PIN); }
37 while(pixels.
has(1)) {
51#if defined(DmxSerial_h) || defined(FASTLED_DOXYGEN)
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.
#define FASTLED_NAMESPACE_END
End of the FastLED namespace.
#define FASTLED_NAMESPACE_BEGIN
Start of the FastLED namespace.
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.