rotaryrgb
2.1.0.0
|
Rotary RGB Click Example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Rotary RGB Click Example.
This library contains the API for the Rotary RGB Click driver to control LEDs states and a rotary encoder position readings.
The demo application is composed of two sections :
Initialization of GPIO module and log UART. After the driver init, the app turn off all LEDs.
This example demonstrates the use of the Rotary RGB Click board. The demo example shows the functionality of a rotary encoder used to control RGB LEDs. The switch controls the application of the colors, and the encoder mechanism controls the state of the LEDs.
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 | ) |