proximity 2.0.0.0
|
Proximity Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint16_t | proximity_ambi_value |
uint16_t | proximity_proxi_value |
Proximity Click example.
Measures proximity data and ambient light.
The demo application is composed of two sections :
Initialization driver init and sets chip on the default mode
Reads Proximity data and Ambient light data and logs data to USBUART every 500 ms.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint16_t proximity_ambi_value |
uint16_t proximity_proxi_value |