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

Detailed Description

LPD6803 SPI chipset encoder.

Free function encoder for LPD6803 chipsets.

Protocol:

  • Start boundary: 4 bytes of 0x00
  • LED data: 16-bit per LED (1 marker + 5-5-5 RGB)
  • End boundary: (num_leds / 32) DWords of 0xFF000000

16-bit format: 1bbbbbgggggrrrrr

  • Bit 15: start marker (1)
  • Bits 14-10: Red (5 bits, high bits of 8-bit value)
  • Bits 9-5: Green (5 bits, high bits of 8-bit value)
  • Bits 4-0: Blue (5 bits, high bits of 8-bit value)

Definition in file lpd6803.h.

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