|
FastLED 3.9.15
|
| void fl::encodeWS2812 | ( | InputIterator | first, |
| InputIterator | last, | ||
| OutputIterator | out, | ||
| const Rgbw & | rgbw ) |
Encode pixel data in WS2812 format (automatic RGB/RGBW selection)
| InputIterator | Iterator yielding fl::array<u8, 3> or fl::array<u8, 4> |
| OutputIterator | Output iterator accepting uint8_t |
| first | Iterator to first pixel |
| last | Iterator past last pixel |
| out | Output iterator for encoded bytes |
| rgbw | Rgbw configuration (if active, uses RGBW mode) |
Definition at line 73 of file ws2812.h.
References encodeWS2812_RGB(), encodeWS2812_RGBW(), FL_NOEXCEPT, and rgbw.
Here is the call graph for this function: