Headers for the color handling module.
uint_fast8_t pwm_t
Default PWM type definition.
void rgbled_init(rgbled_t *led, pwm_t pwm, int channel_r, int channel_g, int channel_b)
Initialize the RGB LED by assigning PWM channels to colors.
void rgbled_set(const rgbled_t *led, color_rgb_t *color)
Set the RGB-LED to the given color value.
Low-level PWM peripheral driver interface definitions.
Data-structure describing a RGB color.
Descriptor struct for rgbleds.
int channel_g
set the G value in RGB
pwm_t device
PWM device to use to control rgbleds.
int channel_b
set the B value in RGB
int channel_r
set the R value in RGB