Browse Source

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

main
Stefan Heinrichsen 9 months ago
parent
commit
51c654f7fb
  1. 2
      platformio.ini
  2. 2
      src/ebk_co2ampel.cpp

2
platformio.ini

@ -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

2
src/ebk_co2ampel.cpp

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

Loading…
Cancel
Save