proximity21
2.1.0.0
|
Proximity 21 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Proximity 21 Click example.
This example demonstrates the use of Proximity 21 Click board by reading and displaying the target distance in millimeters on the USB UART.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration.
Waits for a data ready interrupt, then reads the measurement results and logs the target distance (millimeters) and signal quality (the higher the value the better the signal quality) to the USB UART.
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 | ) |