ericklein / air_quality

displays and logs local indoor and outdoor weather and air quality information
MIT License
0 stars 0 forks source link

5x sample CO2 #73

Closed ericklein closed 1 year ago

ericklein commented 1 year ago

Researching best practices to get an accurate sample from the SCD40, it appears that reading the sensor multiple times and taking the last sample as actual allows the sensor to calibrate properly, versus a single read from a "cold" sensor.

ericklein commented 1 year ago

added a config.h define to control the number of times the SCD40 is read before environment data is stored