FastLED 3.10.8
Loading...
Searching...
No Matches

◆ advanceData()

template<EOrder RGB_ORDER, int LANES = 1, fl::u32 MASK = 0xFFFFFFFF>
FASTLED_FORCE_INLINE void PixelController< RGB_ORDER, LANES, MASK >::advanceData ( )
inline

Advance the data pointer forward, adjust position counter.

Definition at line 308 of file pixel_controller.h.

int mLenRemaining
counter for the number of LEDs left to process
const fl::u8 * mData
pointer to the underlying LED data
fl::i8 mAdvance
how many bytes to advance the pointer by each time. For CRGB this is 3.

References FASTLED_FORCE_INLINE, FL_NO_EXCEPT, mAdvance, mData, and mLenRemaining.

Referenced by DMXSerialController< RGB_ORDER >::showPixels(), DMXSimpleController< DATA_PIN, RGB_ORDER >::showPixels(), and REFHardwareSPIOutput< _DATA_PIN, _CLOCK_PIN, _SPI_CLOCK_DIVIDER >::writePixels().

+ Here is the caller graph for this function: