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

◆ writeHeader()

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

693 {
694 // Write out 50 zeros to the spi line (6 blocks of 8 followed by two single bit writes)
695 mSPI.select();
696 mSPI.template writeBit<0>(0);
697 mSPI.writeByte(0);
698 mSPI.writeByte(0);
699 mSPI.writeByte(0);
700 mSPI.template writeBit<0>(0);
701 mSPI.writeByte(0);
702 mSPI.writeByte(0);
703 mSPI.writeByte(0);
704 mSPI.waitFully();
705 mSPI.release();
706 }
SM16716 controller class.
Definition chipsets.h:689

References mSPI.

Referenced by showPixels().

+ Here is the caller graph for this function: