FastLED 3.10.8
Loading...
Searching...
No Matches

◆ ChannelConfig() [5/8]

template<typename TIMING>
fl::ChannelConfig::ChannelConfig ( int pin,
fl::span< CRGB > leds,
EOrder rgbOrder = RGB,
const ChannelOptions & options = ChannelOptions() )
inline

Template constructor with TIMING type (backwards compatibility)

Deprecated
Use ClocklessChipset constructor instead
Note
This constructor creates a ClocklessChipset internally

Definition at line 210 of file config.h.

212 : ChannelConfig(makeClockless<TIMING>(pin), leds, rgbOrder, options) {}
CRGB leds[1]
constexpr ClocklessChipset makeClockless(int pin) FL_NO_EXCEPT
Build a ClocklessChipset from a compile-time TIMING trait.
Definition config.h:95
ChannelConfig(const fl::string &name, const ChipsetVariant &chipset, fl::span< CRGB > leds, EOrder rgbOrder=RGB, const ChannelOptions &options=ChannelOptions()) FL_NO_EXCEPT
Named constructor with chipset variant.
ChannelOptions options
Optional channel settings (correction, temperature, dither, rgbw, affinity)
Definition config.h:277

References ChannelConfig(), fl::FL_NO_EXCEPT, leds, fl::makeClockless(), options, and fl::RGB.

+ Here is the call graph for this function: