High-level driver for easy handling of RGB-LEDs. More...
High-level driver for easy handling of RGB-LEDs.
Definition in file rgbled.h.
Include dependency graph for rgbled.h:Go to the source code of this file.
Data Structures | |
| struct | rgbled_t |
| Descriptor struct for rgbleds. More... | |
Functions | |
| 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. More... | |
| void | rgbled_set (const rgbled_t *led, color_rgb_t *color) |
| Set the RGB-LED to the given color value. More... | |