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

◆ showPixels()

template<int DATA_PIN, fl::u8 CLOCK_PIN, EOrder RGB_ORDER = RGB, fl::u32 SPI_SPEED = DATA_RATE_MHZ(10)>
virtual void P9813Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::showPixels ( PixelController< RGB_ORDER > & pixels)
inlineprotectedvirtual

Send the LED data to the strip.

Parameters
pixelsthe PixelController object for the LED data

Definition at line 52 of file p9813.h.

52 {
53 mSPI.select();
54
56 while(pixels.has(1)) {
57 writeLed(pixels.loadAndScale0(), pixels.loadAndScale1(), pixels.loadAndScale2());
58 pixels.advanceData();
59 pixels.stepDithering();
60 }
62
63 mSPI.endTransaction();
64 }
void writeBoundary() FL_NO_EXCEPT
Definition p9813.h:30
FASTLED_FORCE_INLINE void writeLed(fl::u8 r, fl::u8 g, fl::u8 b) FL_NO_EXCEPT
Definition p9813.h:32
P9813 controller class.
Definition p9813.h:26

References FL_NO_EXCEPT, mSPI, writeBoundary(), and writeLed().

+ Here is the call graph for this function: