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

◆ showPixels()

template<uint8_t DATA_PIN, uint8_t 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 659 of file chipsets.h.

659 {
660 mSPI.select();
661
663 while(pixels.has(1)) {
664 writeLed(pixels.loadAndScale0(), pixels.loadAndScale1(), pixels.loadAndScale2());
665 pixels.advanceData();
666 pixels.stepDithering();
667 }
669 mSPI.waitFully();
670
671 mSPI.release();
672 }
FASTLED_FORCE_INLINE void writeLed(uint8_t r, uint8_t g, uint8_t b)
Definition chipsets.h:645
void writeBoundary()
Definition chipsets.h:643
P9813 controller class.
Definition chipsets.h:639

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: