proximity14
2.0.0.0
|
Proximity14 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | 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.
void application_task | ( | void | ) |
void main | ( | void | ) |