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

◆ ChannelConfig() [1/8]

fl::ChannelConfig::ChannelConfig ( const fl::string & name,
const ChipsetVariant & chipset,
fl::span< CRGB > leds,
EOrder rgbOrder = RGB,
const ChannelOptions & options = ChannelOptions() )

Named constructor with chipset variant.

Parameters
nameUser-specified channel name
chipsetChipset configuration (clockless or SPI)
ledsLED data array
rgbOrderRGB channel ordering
optionsChannel options (correction, temperature, dither, affinity)
Examples
/home/runner/work/FastLED/FastLED/src/fl/channels/config.h.

Definition at line 10 of file config.cpp.hpp.

12 : ChannelConfig(chipset, leds, rgbOrder, options) {
13 mName = name;
14}
fl::CRGB leds[NUM_LEDS]
fl::optional< fl::string > mName
Optional user-specified name (if not set, Channel generates one automatically)
Definition config.h:279
ChannelOptions options
Optional channel settings (correction, temperature, dither, rgbw, affinity)
Definition config.h:273
ChannelConfig(const fl::string &name, const ChipsetVariant &chipset, fl::span< CRGB > leds, EOrder rgbOrder=RGB, const ChannelOptions &options=ChannelOptions()) FL_NOEXCEPT
Named constructor with chipset variant.
ChipsetVariant chipset
Chipset configuration (clockless or SPI)
Definition config.h:264

References ChannelConfig(), chipset, leds, mName, and options.

Referenced by ChannelConfig(), ChannelConfig(), ChannelConfig(), ChannelConfig(), operator=(), and operator=().

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