Contiki-NG
|
This is a driver for a tri-color RGB LED part, such as for example the Broadcom (ex Avago Technologies) PLCC-4 Tricolor Black Surface LED present on all Zolertia Zoul-based boards. More...
Files | |
file | rgb-led.c |
Implementation of the RGB LED driver. | |
file | rgb-led.h |
Header file for the RGB LED driver. | |
Functions | |
void | rgb_led_off (void) |
Turn off the RGB LED. | |
void | rgb_led_set (uint8_t colour) |
Set the colour of the RGB LED. More... | |
This is a driver for a tri-color RGB LED part, such as for example the Broadcom (ex Avago Technologies) PLCC-4 Tricolor Black Surface LED present on all Zolertia Zoul-based boards.
This driver sits on top of the LED HAL. Therefore, any port that wishes to use this driver should first implement the GPIO HAL and the new LED API. This driver will set the colour of the RGB LED by using combinations of LED_RED, LED_GREEN and LED_BLUE. Therefore, those must be correctly defined by the platform configuration.