FastLED 3.10.6
Loading...
Searching...
No Matches

◆ latch()

template<int DATA_PIN, fl::u8 CLOCK_PIN, EOrder RGB_ORDER = RGB, fl::u32 SPI_SPEED = DATA_RATE_MHZ(1)>
void MY9221Controller< DATA_PIN, CLOCK_PIN, RGB_ORDER, SPI_SPEED >::latch ( )
inlineprivate

Definition at line 80 of file my9221.h.

80 {
84
85 // Four DI pulses while DCKI is held low.
86 for (int i = 0; i < 4; ++i) {
89 }
90 }
static constexpr fl::u32 kLatchDelayUs
Datasheet latch: hold DCKI low for >220 us after last data, then pulse DI 4x.
Definition my9221.h:54
MY9221 controller class.
Definition my9221.h:46
void delayMicroseconds(u32 us)
Delay for a given number of microseconds.

References fl::delayMicroseconds(), and kLatchDelayUs.

Referenced by showPixels().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: