proximity14 2.0.0.0
|
Proximity14 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Proximity14 Click example.
This example showcases the ability of the device to read proximity value. It can be configured to detect objects up to 20cm of distance.
The demo application is composed of two sections :
Initialization of host communication modules (UART, I2C) and additional pins. Reads device ID and sets default configuration.
In span of 100ms reads proximity data from device and logs result.
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 | ) |