environment2 2.0.0.0
|
Environment2 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Environment2 Click example.
This library contains API for Environment 2 Click driver. The library contains drivers for measuring air quality, temperature and relative humidity.
The demo application is composed of two sections :
Initializes I2C driver and triggers the built-in self-test checking, set heater off, performs sensors configuration and initialize VOC algorithm.
This is an example that demonstrates the use of the Environment 2 Click board. Measured and display air quality ( raw data ), temperature ( degrees Celsius ), relative humidity ( % ) and VOC Index. Results are being sent to the Usart Terminal where you can track their changes. All data logs write on USB UART changes every 2 sec.
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 | ) |