Skip to content

Commit

Permalink
changed Sparkfun Library to Adafruit SCD30 (unsupported issue #33):
Browse files Browse the repository at this point in the history
  • Loading branch information
hpsaturn committed Jun 1, 2022
1 parent abd0e3a commit 09d07c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/Sensors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ bool Sensors::readAllSensors() {
DEBUG("-->[SLIB] UART data ready \t:", dataReady ? "true" : "false");
}
enableWire1();
// CO2scd30Read();
CO2scd30Read();
// GCJA5Read();
sps30Read();
CO2scd4xRead();
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 09d07c2

Please sign in to comment.