force2
2.0.0.0
|
Force2 Click example. More...
Functions | |
int32_t | force2_val_conv (int32_t x, int32_t in_max, int32_t out_min, int32_t out_max) |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Force2 Click example.
This application is used to measure the pressure force.
The demo application is composed of two sections :
Initalizes ADC driver, sets ADC channel and makes an initial log.
This is an example that shows the capabilities of the Force 2 click by taking measurements from the device and displaying it via USART terminal.
void application_init | ( | void | ) |
void application_task | ( | void | ) |
int32_t force2_val_conv | ( | int32_t | x, |
int32_t | in_max, | ||
int32_t | out_min, | ||
int32_t | out_max | ||
) |
void main | ( | void | ) |