FastLED 3.9.15
Loading...
Searching...
No Matches

◆ showPixels()

template<fl::u8 DATA_PIN, fl::u8 CLOCK_PIN, EOrder RGB_ORDER = RGB, uint32_t 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 685 of file chipsets.h.

685 {
686 mSPI.select();
687
689 while(pixels.has(1)) {
690 writeLed(pixels.loadAndScale0(), pixels.loadAndScale1(), pixels.loadAndScale2());
691 pixels.advanceData();
692 pixels.stepDithering();
693 }
695 mSPI.waitFully();
696
697 mSPI.release();
698 }
void writeBoundary()
Definition chipsets.h:669
FASTLED_FORCE_INLINE void writeLed(fl::u8 r, fl::u8 g, fl::u8 b)
Definition chipsets.h:671
P9813 controller class.
Definition chipsets.h:665

References PixelController< RGB_ORDER, LANES, MASK >::advanceData(), PixelController< RGB_ORDER, LANES, MASK >::has(), PixelController< RGB_ORDER, LANES, MASK >::loadAndScale0(), PixelController< RGB_ORDER, LANES, MASK >::loadAndScale1(), PixelController< RGB_ORDER, LANES, MASK >::loadAndScale2(), mSPI, PixelController< RGB_ORDER, LANES, MASK >::stepDithering(), writeBoundary(), and writeLed().

+ Here is the call graph for this function: