diff --git a/platformio.ini b/platformio.ini index 69b0bcec..03faa573 100644 --- a/platformio.ini +++ b/platformio.ini @@ -19,13 +19,13 @@ lib_deps = adafruit/Adafruit BME280 Library @ 2.2.2 adafruit/Adafruit BMP280 Library @ 2.6.2 adafruit/Adafruit BME680 Library @ 2.0.2 - adafruit/Adafruit BusIO @ 1.11.6 adafruit/Adafruit SHT31 Library @ 2.1.0 + adafruit/Adafruit SCD30 @ 1.0.8 + adafruit/Adafruit BusIO @ 1.11.6 robtillaart/AM232X @ 0.4.1 enjoyneering/AHT10 @ 1.1.0 paulvha/sps30 @ 1.4.12 wifwaf/MH-Z19 @ 1.5.3 - sparkfun/SparkFun SCD30 Arduino Library @ 1.0.17 sensirion/Sensirion Core @ 0.5.3 sensirion/Sensirion I2C SCD4x @ 0.3.1 https://github.com/hpsaturn/DHT_nonblocking.git diff --git a/src/Sensors.cpp b/src/Sensors.cpp index 2b7bb71d..cfc1f243 100644 --- a/src/Sensors.cpp +++ b/src/Sensors.cpp @@ -60,7 +60,7 @@ bool Sensors::readAllSensors() { DEBUG("-->[SLIB] UART data ready \t:", dataReady ? "true" : "false"); } enableWire1(); - // CO2scd30Read(); + CO2scd30Read(); // GCJA5Read(); sps30Read(); CO2scd4xRead(); @@ -106,7 +106,7 @@ void Sensors::init(int pms_type, int pms_rx, int pms_tx) { DEBUG("-->[SLIB] UART sensors detected\t:", "0"); } startI2C(); - // CO2scd30Init(); + CO2scd30Init(); sps30I2CInit(); // GCJA5Init(); CO2scd4xInit();