|
FastLED 3.9.15
|
SK9822 SPI chipset encoder.
Free function encoder for SK9822 chipsets. SK9822 is nearly identical to APA102, with one key difference: end frame uses 0x00 instead of 0xFF.
Protocol:
Brightness modes:
Definition in file sk9822.h.
#include "fl/stl/stdint.h"#include "fl/stl/array.h"#include "fl/chipsets/encoders/encoder_utils.h"#include "fl/chipsets/encoders/encoder_constants.h"#include "fl/stl/compiler_control.h"#include "fl/stl/noexcept.h"
Include dependency graph for sk9822.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::encodeSK9822 (InputIterator first, InputIterator last, OutputIterator out, u8 global_brightness=31) FL_NOEXCEPT |
| Encode pixel data in SK9822 format with global brightness. | |
| template<typename InputIterator, typename OutputIterator> | |
| FL_NO_INLINE_IF_AVR void | fl::encodeSK9822_AutoBrightness (InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT |
| Encode pixel data in SK9822 format (auto-detected brightness from first pixel) | |
| template<typename InputIterator, typename BrightnessIterator, typename OutputIterator> | |
| void | fl::encodeSK9822_HD (InputIterator first, InputIterator last, BrightnessIterator brightness_first, OutputIterator out) FL_NOEXCEPT |
| Encode pixel data in SK9822 format with per-LED brightness. | |