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