joystick2 2.0.0.0
|
Joystick2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Joystick2 Click example.
The demo application shows reading the joistick position ..
The demo application is composed of two sections :
Configuring clicks and log objects. Reset device and settings the click in the default configuration.
It reads the position of the joystick, if it detects that the joystick has moved from the zero position, it prints a message about the current position.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |