rotaryswitch
2.1.0.0
|
Rotary Switch Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Rotary Switch Click example.
This example demonstrates the use of Rotary Switch click board by reading and displaying the switch position on the USB UART.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Reads the switch position every 20ms and displays it on the USB UART on position change.
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 | ) |