c2x4rgb
2.1.0.0
|
2x4 RGB Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
2x4 RGB Click Example.
This example demonstrates the use of 2x4 RGB click board by cycling through a set of colors, gradually increasing the brightness of each LED in a sequence, and then decreasing the brightness before moving on to the next color in the array.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration which sets the LEDs brightness and current gain to a minimum and the color to black (all LEDs off).
Cycles through a set of colors, gradually increases the brightness of each LED in a sequence, and then decreases the brightness before moving on to the next color in the array. The current color's name and RGB value are logged to the USB UART.
void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |