force2 2.0.0.0
|
Force 2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Force 2 Click example.
This example demonstrates the use of Force 2 click board by reading and displaying the voltage from AN pin and the calculated force (N) value.
The demo application is composed of two sections :
Initalizes the driver and logger and makes an initial log.
Reads and displays the voltage from AN pin, then calculates and displays the force in N.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |