|
FastLED 3.9.15
|
| void fl::encodeWS2801 | ( | InputIterator | first, |
| InputIterator | last, | ||
| OutputIterator | out ) |
Encode pixel data in WS2801/WS2803 format.
Writes RGB pixel data in WS2801 protocol format. WS2801 is one of the simplest SPI protocols - just 3 bytes per LED (RGB) with no start/end frames. Latching occurs via timing (pause in clock).
| InputIterator | Iterator yielding fl::array<u8, 3> (3 bytes in wire order) |
| OutputIterator | Output iterator accepting uint8_t (e.g., fl::back_inserter) |
| first | Iterator to first pixel |
| last | Iterator past last pixel |
| out | Output iterator for encoded bytes |
Definition at line 41 of file ws2801.h.
References FL_NOEXCEPT.
Referenced by encodeWS2803(), and fl::PixelIterator::writeWS2801().
Here is the caller graph for this function: