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

◆ create() [2/2]

ChannelDataPtr fl::ChannelData::create ( int pin,
const ChipsetTimingConfig & timing,
fl::vector_psram< u8 > && encodedData = fl::vector_psram<u8>() )
static

Create channel transmission data (backwards compatibility)

Parameters
pinGPIO pin number for this channel
timingChipset timing configuration (T0H, T1H, T0L, reset)
encodedDataEncoded byte stream ready for transmission (defaults to empty)
Deprecated
Use variant-based create() instead

Definition at line 19 of file data.cpp.hpp.

23 {
24 return fl::make_shared<ChannelData>(pin, timing, fl::move(encodedData));
25}
constexpr remove_reference< T >::type && move(T &&t) FL_NOEXCEPT
Definition s16x16x4.h:28
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
Definition shared_ptr.h:414

References FL_NOEXCEPT, fl::make_shared(), and fl::fl::move().

+ Here is the call graph for this function: