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

◆ my9221()

static SpiEncoder fl::SpiEncoder::my9221 ( u32 clock_hz = 1000000)
inlinestatic

Create MY9221 encoder configuration.

Parameters
clock_hzClock frequency (default 1MHz)
Note
MY9221 uses dual-edge (DDR) clocking. The Channel SPI path cannot drive it correctly; legacy addLeds<MY9221, DATA, CLOCK>(...) dispatches to the bit-bang MY9221Controller automatically.

Definition at line 152 of file spi.h.

152 {
153 SpiEncoder config = {SpiChipset::MY9221, clock_hz};
154 return config;
155 }
@ MY9221
MY9221 12-channel LED driver (dual-edge clocked; 4 RGB LEDs per chip)
u32 clock_hz
SPI clock frequency in Hz (e.g., 6000000 for 6MHz)
Definition spi.h:40

References clock_hz, fl::FL_NO_EXCEPT, and fl::MY9221.

Referenced by spiEncoderForChipset().

+ Here is the caller graph for this function: