proximity15 2.0.0.0
|
Proximity15 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Proximity15 Click example.
This example demonstrates the use of Proximity 15 click board.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration which enables the sensor and sets it to long distance mode with 50ms timing budget and 100ms inter measurement periods.
Reads the distance measured by the sensor in milimeters and displays the value on the USB UART approximately every 100ms.
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 | ) |