FastLED 3.10.6
Loading...
Searching...
No Matches

◆ writeTM1812RGBWW()

template<typename CONTAINER_UIN8_T>
void fl::PixelIterator::writeTM1812RGBWW ( CONTAINER_UIN8_T * out)
inline

Encode RGBWW pixels into 12-channel TM1812 IC frames.

Definition at line 377 of file pixel_iterator.h.

377 {
378 auto back_ins = fl::back_inserter(*out);
379 auto range = makeScaledPixelRangeRGBWW(this);
380 encodeTM1812_RGBWW(range.first, range.second, back_ins);
381 }
back_insert_iterator< Container > back_inserter(Container &c) FL_NO_EXCEPT
Helper function to create a back_insert_iterator.
Definition iterator.h:139
void encodeTM1812_RGBWW(InputIterator first, InputIterator last, OutputIterator out) FL_NO_EXCEPT
Pack 5-channel RGBCCT pixels into TM1812 12-channel frames.
Definition tm1812.h:24
pair< detail::ScaledPixelIteratorRGBWW, detail::ScaledPixelIteratorRGBWW > makeScaledPixelRangeRGBWW(PixelIterator *pixels) FL_NO_EXCEPT
Create RGBWW input iterator range from PixelIterator (issue #2558)

References fl::back_inserter(), fl::encodeTM1812_RGBWW(), fl::FL_NO_EXCEPT, and fl::makeScaledPixelRangeRGBWW().

+ Here is the call graph for this function: