ambient
2.0.0.0
|
Ambient Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
void | main (void) |
Variables | |
uint16_t | value_adc |
uint16_t | light |
Ambient Click example.
This application turns light intensity into voltage.
The demo application is composed of two sections :
Initialization driver enables GPIO,initializationADC, also write log.
This is an example which demonstrates the use of Ambient click board. Ambient click reads ADC value and converts to light intensity [ uW/cm2 ]. Results are being sent to the Usart Terminal where you can track their changes. All data logs on USB uart change for every 1 sec.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
void main | ( | void | ) |
uint16_t light |
uint16_t value_adc |