Rgbled_pwm#
- group drv_rgbled_pwm
Driver for RGB LED via PWM.
- Author
Alexandre Abadie alexandre.abadie@inria.fr
- Copyright
Inria, 2023
Functions
-
void db_rgbled_pwm_init(const db_rgbled_pwm_conf_t *conf)#
Initialize the RGB LED pins.
- Parameters:
conf – [in] Configuration for the RGB LED pins
-
void db_rgbled_pwm_set_color(uint8_t red, uint8_t green, uint8_t blue)#
Set the color of the RGB LED.
- Parameters:
red – [in] Red value [0 - 255]
green – [in] Green value [0 - 255]
blue – [in] Blue value [0 - 255]
-
struct db_rgbled_pwm_conf_t#
RGB LED PWM configuration.