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

◆ apa102HD()

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

Create APA102HD encoder configuration (per-LED brightness via HD gamma)

Parameters
clock_hzClock frequency (default 6MHz, same as APA102)

Definition at line 51 of file spi.h.

51 {
52 SpiEncoder config = {SpiChipset::APA102HD, clock_hz};
53 return config;
54 }
@ APA102HD
APA102 LED chipset with 5-bit gamma correction.
u32 clock_hz
SPI clock frequency in Hz (e.g., 6000000 for 6MHz)
Definition spi.h:40

References fl::APA102HD, clock_hz, and FL_NOEXCEPT.

Referenced by spiEncoderForChipset().

+ Here is the caller graph for this function: