|
FastLED 3.10.6
|
| void fl::encodeTM1812_RGBWW | ( | InputIterator | first, |
| InputIterator | last, | ||
| OutputIterator | out ) |
Pack 5-channel RGBCCT pixels into TM1812 12-channel frames.
The TM1812 consumes four RGB groups (12 bytes / 96 bits) per IC. RGBCCT strips reported in issue #995 wire two logical 5-channel pixels to the first ten outputs and leave the final two outputs unused. Consequently, each IC frame is pixel 0 (5) + pixel 1 (5) + zero padding (2).
An odd final logical pixel is followed by five zero bytes for the absent second pixel, then the normal two padding bytes. This preserves the 96-bit boundary so downstream TM1812 chips stay aligned.
Definition at line 24 of file tm1812.h.
References BYTES_PER_PIXEL_RGBWW, and FL_NO_EXCEPT.
Referenced by fl::PixelIterator::writeTM1812RGBWW().
Here is the caller graph for this function: