apc1sensor 2.1.0.0
|
APC1 Sensor Demo example. More...
Functions | |
void | application_init (void) |
void | application_task (void) |
int | main (void) |
APC1 Sensor Demo example.
This example demonstrates the use of APC1 Air Quality Sensor Bundle by reading measurement results (PM1.0, PM2.5, PM10, TVOC, eCO2, AQI, temperature, relative humidity, etc.).
The demo application is composed of two sections :
Initializes the driver, performs the sensor default configuration, and reads the sensor name, serial number, and firmware version.
Reads the measurement results and displays all data on the USB UART once per second.
void application_init | ( | void | ) |
< Logger config object.
< Demo config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
void application_task | ( | void | ) |
int main | ( | void | ) |