Headers for the color handling module.
Low-level GPIO peripheral driver interface definitions.
int lpd8808_init(lpd8808_t *dev, const lpd8808_params_t *params)
Initialize the given LPD8808 based LED strip.
lpd8808_params_t lpd8808_t
Device descriptor, same as the configuration parameters.
void lpd8808_load_rgb(const lpd8808_t *dev, color_rgb_t vals[])
Set the color value of each LED on the strip.
Data-structure describing a RGB color.
Parameters needed for configuration.
int led_cnt
number of LEDs on the strip
gpio_t pin_clk
pin connected to the strip's clock signal
gpio_t pin_dat
pin connected to the strip's data signal