pollution 2.0.0.0
|
Pollution Click example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
Variables | |
float | value_volt |
float | value_res |
Pollution Click example.
Pollution click carries the VOC gas sensor and has high sensitivity to organic gases such as methanal (also known as formaldehyde), benzene, alcohol, toluene, etc.
The demo application is composed of two sections :
Application Init performs Logger and Click initialization.
This is an example which demonstrates the usage of Pollution Click board. Pollution Click reads ADC value, load voltage from ADC value, and reads corrected resistance of the sensor where results are being sent to the UART terminal where you can track changes.
void application_init | ( | void | ) |
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |
float value_res |
float value_volt |