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

◆ ws2801()

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

Create WS2801 encoder configuration.

Parameters
clock_hzClock frequency (default 1MHz)

Definition at line 107 of file spi.h.

107 {
108 SpiEncoder config = {SpiChipset::WS2801, clock_hz};
109 return config;
110 }
@ WS2801
WS2801 LED chipset.
u32 clock_hz
SPI clock frequency in Hz (e.g., 6000000 for 6MHz)
Definition spi.h:40

References clock_hz, FL_NOEXCEPT, and fl::WS2801.

Referenced by spiEncoderForChipset().

+ Here is the caller graph for this function: