ambient16 2.0.0.0
|
Ambient16 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Ambient16 Click example.
This is an example that demonstrates the use of the Ambient 16 Click board by measuring illuminance and displaying the value in Lux.
The demo application is composed of two sections :
Initializes I2C driver performs software reset and applies default settings.
Demonstrates use of Ambient 16 click board by reading data values of DATA0 and DATA1 in Lux every second, and logging it on the UART terminal.
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 | ) |