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

◆ writeHeader()

template<fl::u8 DATA_PIN, fl::u8 CLOCK_PIN, EOrder RGB_ORDER = RGB, uint32_t SPI_SPEED = DATA_RATE_MHZ(16)>
void SM16716Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::writeHeader ( )
inlineprivate

Definition at line 719 of file chipsets.h.

719 {
720 // Write out 50 zeros to the spi line (6 blocks of 8 followed by two single bit writes)
721 mSPI.select();
722 mSPI.template writeBit<0>(0);
723 mSPI.writeByte(0);
724 mSPI.writeByte(0);
725 mSPI.writeByte(0);
726 mSPI.template writeBit<0>(0);
727 mSPI.writeByte(0);
728 mSPI.writeByte(0);
729 mSPI.writeByte(0);
730 mSPI.waitFully();
731 mSPI.release();
732 }
SM16716 controller class.
Definition chipsets.h:715

References mSPI.

Referenced by showPixels().

+ Here is the caller graph for this function: