FastLED 3.9.15
Loading...
Searching...
No Matches

◆ encodeWS2803()

template<typename InputIterator, typename OutputIterator>
void fl::encodeWS2803 ( InputIterator first,
InputIterator last,
OutputIterator out )

Encode pixel data in WS2803 format (alias for WS2801)

Template Parameters
InputIteratorIterator yielding fl::array<u8, 3> (3 bytes in wire order)
OutputIteratorOutput iterator accepting uint8_t
Parameters
firstIterator to first pixel
lastIterator past last pixel
outOutput iterator for encoded bytes
Note
WS2803 protocol is identical to WS2801

Definition at line 31 of file ws2803.h.

31 {
32 // WS2803 uses identical protocol to WS2801
33 encodeWS2801(first, last, out);
34}
void encodeWS2801(InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT
Encode pixel data in WS2801/WS2803 format.
Definition ws2801.h:41

References encodeWS2801(), and FL_NOEXCEPT.

Referenced by fl::PixelIterator::writeWS2803().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: