illuminance
2.0.0.0
|
Illuminance Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Illuminance Click example.
This example demonstrates basic Illuminance Click functionality.
The demo application is composed of two sections :
Initialize device and driver.
Every second calculate illuminance measured by sensor and log results to UART Terminal.
note: By default, integration time is set to 402ms but it may be modified by user using illuminance_write_data() function and provided macros.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void main | ( | void | ) |