keylock2 2.0.0.0
|
Key Lock 2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint8_t | old_position = 1 |
uint8_t | key_position |
Key Lock 2 Click example.
Keylock 2 Click carries antistatic process sealed keylock mechanism that has three positions.
The demo application is composed of two sections :
Initialization driver init.
Checks the current key position and logs the current position on the USB UART.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint8_t key_position |
uint8_t old_position = 1 |