Fix compile, add pressure placeholder text
This commit is contained in:
parent
734ecd850c
commit
71e80d7f09
|
@ -17,8 +17,6 @@ upload_speed = 921600
|
|||
monitor_speed = 115200
|
||||
monitor_filters = esp32_exception_decoder
|
||||
lib_deps =
|
||||
wifwaf/MH-Z19@^1.5.3
|
||||
adafruit/Adafruit AHTX0@^2.0.1
|
||||
fmalpartida/LiquidCrystal@^1.5.0
|
||||
sparkfun/SparkFun SCD4x Arduino Library@^1.0.4
|
||||
juerd/ESP-WiFiSettings@^3.8.0
|
||||
|
|
|
@ -244,7 +244,12 @@ void loop() {
|
|||
LCD.print(co2);
|
||||
LCD.print("ppm ");
|
||||
LCD.setCursor(9, 1);
|
||||
LCD.print(lastWeatherPressure);
|
||||
|
||||
if (weatherUpdateSuccess)
|
||||
LCD.print(lastWeatherPressure);
|
||||
else
|
||||
LCD.print("----");
|
||||
|
||||
LCD.print("hPa");
|
||||
|
||||
Serial.print(co2);
|
||||
|
|
Loading…
Reference in a new issue