c2x2rgb 2.1.0.0
|
2x2 RGB Click example More...
Macros | |
#define | DEMO_LED_CURRENT 600 |
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
2x2 RGB Click example
This example demonstrates the use of the 2x2 RGB Click boardâ„¢ by controlling the color of the LEDs [1-4].
The demo application is composed of two sections :
Initialization of SPI module and log UART. After driver initialization, the app executes a default configuration.
This simple example shows all LEDs in different colors. These LEDs actually consist of three single-colored LEDs (Red, Green and Blue) in a single package. Various colors can be reproduced by mixing the intensity of each LED.
#define DEMO_LED_CURRENT 600 |
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 | ) |