Interface for controlling APA102 LEDs. More...
Interface for controlling APA102 LEDs.
Definition in file apa102.h.
Go to the source code of this file.
Data Structures | |
struct | apa102_params_t |
Configuration parameters for (chained) APA102 LEDs. More... | |
Typedefs | |
typedef apa102_params_t | apa102_t |
Device descriptor definition for APA102 LEDs. | |
Functions | |
void | apa102_init (apa102_t *dev, const apa102_params_t *params) |
Initialize (chained) APA102 LEDs. | |
void | apa102_load_rgba (const apa102_t *dev, const color_rgba_t vals[]) |
Apply the given color values to the connected LED(s) | |