proximity9 2.0.0.0
|
Proximity9 Click example. More...
Functions | |
void | application_init (void) |
void | application_task () |
int | main (void) |
Proximity9 Click example.
This application is proximity sensing (PS) and ambient light sensing (ALS) device.
The demo application is composed of two sections :
Initializes I2C interface and performs a device configurations.
Performs a data reading and interrupt flag checking. Allows data and interrupt flags messages to be showed on the uart terminal.
note: The ALS sensitivity depends on the ALS integration time setting. The longer integration time has higher sensitivity. The Proximity (PS) output data can be set to 12-bit or 16-bit resolution.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | ) |
int main | ( | void | ) |