light 2.0.0.0
|
Light Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Light Click example.
This application return the ambient light intensity.
The demo application is composed of two sections :
Initialization driver enable's - SPI and start write log.
This is a example which demonstrates the use of Light Click board. Measured light intensity and calculate light intensity percent from sensor, results are being sent to the Usart Terminal where you can track their changes. All data logs on usb uart for aproximetly every 100 ms when the data value changes.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |