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

◆ dotstar()

static SpiEncoder fl::SpiEncoder::dotstar ( u32 clock_hz = 6000000)
inlinestatic

Create DOTSTAR encoder configuration (alias for APA102)

Parameters
clock_hzClock frequency (default 6MHz)

Definition at line 72 of file spi.h.

72 {
73 SpiEncoder config = {SpiChipset::DOTSTAR, clock_hz};
74 return config;
75 }
@ DOTSTAR
APA102 LED chipset alias.
u32 clock_hz
SPI clock frequency in Hz (e.g., 6000000 for 6MHz)
Definition spi.h:40

References clock_hz, fl::DOTSTAR, and FL_NOEXCEPT.

Referenced by spiEncoderForChipset().

+ Here is the caller graph for this function: