ambient14
2.1.0.0
|
Ambient 14 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Ambient 14 Click example.
This example demonstrates the use of Ambient 14 click board by measuring the illuminance level (Lux) and the proximity data on the USB UART.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Reads the proximity, ALS, and IR raw data counts when data is ready. Calculates the illuminance level in Lux from ALS data counts and displays the results on the USB UART approximately every 500ms.
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 | ) |