ericklein / air_quality

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

#define support for non SCD40 hardware #99

Closed ericklein closed 1 year ago

ericklein commented 1 year ago

Allow for config.h only selection of supported environment sensors. SCD40 support is explicitly set via #define, and BME280 support is default if SCD40 is not defined. To support AHT2X sensors, you have to comment and uncomment code in the globals section of air_quality.ino

ericklein commented 1 year ago

this is fixed in ek_fixes, which will be tested and promoted. Added a #BME680 and #AHTXX to support those sensors explictly. Those sensors, outside of their hardware include, use the same code, based on Adafruit Unified Sensor, to read data.