mirror of
https://github.com/Eigenbaukombinat/ebk_co2ampel.git
synced 2024-11-24 15:20:20 +01:00
Updated MH-Z19 Libary to 1.5.3; moved to new calibrate() instead of calibrateZero()
This commit is contained in:
parent
c9d207104a
commit
51c654f7fb
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -246,7 +246,7 @@ void calibrateCO2() {
|
|||
|
||||
myMHZ19.setRange(5000);
|
||||
delay(500);
|
||||
myMHZ19.calibrateZero();
|
||||
myMHZ19.calibrate();
|
||||
delay(500);
|
||||
myMHZ19.autoCalibration(false);
|
||||
delay(500);
|
||||
|
|
Loading…
Reference in a new issue