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

Detailed Description

LPD8806 SPI chipset encoder.

Free function encoder for LPD8806 chipsets.

Protocol:

  • LED data: [G7][R7][B7] (3 bytes per LED, MSB always set, 7-bit color)
  • Latch: ((num_leds * 3 + 63) / 64) bytes of 0x00

Color encoding:

  • Each byte has MSB set (0x80)
  • 7-bit color depth (bits 0-6)
  • Order: GRB (not RGB!)

Definition in file lpd8806.h.

+ Include dependency graph for lpd8806.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::encodeLPD8806 (InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT
 Encode pixel data in LPD8806 format.