Updated MH-Z19 Libary to 1.5.3; moved to new calibrate() instead of calibrateZero()

This commit is contained in:
Stefan H. 2021-01-26 10:25:24 +01:00
parent c9d207104a
commit 51c654f7fb
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ board = esp32dev
framework = arduino
lib_deps =
adafruit/Adafruit NeoPixel@^1.6.0
wifwaf/MH-Z19@^1.5.2
squix78/ESP8266_SSD1306@^4.1.0
yiannisbourkelis/Uptime Library @ ^1.0.0
wifwaf/MH-Z19@^1.5.3
monitor_speed = 115200

View file

@ -246,7 +246,7 @@ void calibrateCO2() {
myMHZ19.setRange(5000);
delay(500);
myMHZ19.calibrateZero();
myMHZ19.calibrate();
delay(500);
myMHZ19.autoCalibration(false);
delay(500);