airquality7 2.0.0.0
|
AirQuality7 Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
uint16_t | airquality7_tvoc_ppb |
uint16_t | airquality7_co2_ppm |
uint32_t | airquality7_res_val_ohm |
airquality7_err_t | airquality7_err_code |
AirQuality7 Click example.
This demo application measures air quality.
The demo application is composed of two sections :
Initializes I2C driver and reads revision date of the module. If CRC check is OK allows the program to go on, otherwise, it displays a message that the program needs to be restarted.
Reads air quality status every 1500ms and shows the results on the USB UART.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
uint16_t airquality7_co2_ppm |
airquality7_err_t airquality7_err_code |
uint32_t airquality7_res_val_ohm |
uint16_t airquality7_tvoc_ppb |