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

◆ writeTM1908()

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

Encode RGB pixels with the required TM1908 command prefix.

Definition at line 385 of file pixel_iterator.h.

385 {
386 auto back_ins = fl::back_inserter(*out);
387 auto range = makeScaledPixelRangeRGB(this);
388 encodeTM1908(range.first, range.second, back_ins);
389 }
back_insert_iterator< Container > back_inserter(Container &c) FL_NO_EXCEPT
Helper function to create a back_insert_iterator.
Definition iterator.h:139
void encodeTM1908(InputIterator first, InputIterator last, OutputIterator out) FL_NO_EXCEPT
Encode one complete TM1908 frame.
Definition tm1908.h:18
pair< detail::ScaledPixelIteratorRGB, detail::ScaledPixelIteratorRGB > makeScaledPixelRangeRGB(PixelIterator *pixels) FL_NO_EXCEPT
Create RGB input iterator range from PixelIterator.

References fl::back_inserter(), fl::encodeTM1908(), fl::FL_NO_EXCEPT, and fl::makeScaledPixelRangeRGB().

+ Here is the call graph for this function: