34template <
typename InputIterator,
typename OutputIterator>
44 while (first != last) {
50 *out++ =
static_cast<u8>(command >> 8);
51 *out++ =
static_cast<u8>(command & 0xFF);
58 size_t end_dwords = (num_leds / 32);
59 for (
size_t i = 0; i < end_dwords; i++) {
A fixed-size array implementation similar to std::array.
Constants for SPI chipset encoders.
Shared utilities for SPI chipset encoders.
u16 lpd6803EncodeRGB(u8 r, u8 g, u8 b) FL_NOEXCEPT
Convert RGB to LPD6803 16-bit format (1bbbbbgggggrrrrr)
void encodeLPD6803(InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT
Encode pixel data in LPD6803 format.
Base definition for an LED controller.