FastLED 3.9.15
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 206 of file config.h.

208 : ChannelConfig(makeClockless<TIMING>(pin), leds, rgbOrder, options) {}
fl::CRGB leds[NUM_LEDS]
constexpr ClocklessChipset makeClockless(int pin) FL_NOEXCEPT
Build a ClocklessChipset from a compile-time TIMING trait.
Definition config.h:94
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.

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

+ Here is the call graph for this function: