FastLED 3.9.15
Loading...
Searching...
No Matches
ws2801.h File Reference

Detailed Description

WS2801/WS2803 SPI chipset encoder.

Free function encoder for WS2801 and WS2803 chipsets. These chipsets use simple RGB byte streaming with timing-based latching.

Protocol:

  • LED data: 3 bytes per LED (RGB order)
  • No frame overhead (latch is timing-based, not data-based)
  • Clock speed: typically 1-25 MHz
Note
This consolidates encoding logic previously duplicated in:

Definition in file ws2801.h.

+ Include dependency graph for ws2801.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Functions

template<typename InputIterator, typename OutputIterator>
void fl::encodeWS2801 (InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT
 Encode pixel data in WS2801/WS2803 format.