Browse Source

humidity description

ir
Hendrik Langer 5 years ago
parent
commit
dfb55c6d26
  1. 10
      src/main.cpp

10
src/main.cpp

@ -233,6 +233,16 @@ void displayValues() {
display.setFont(&FreeSansBold9pt7b);
display.setCursor(70,y_offset+40);
display.printf("%.1f", sensor_readings.humidity);
display.setFont(NULL);
display.setCursor(70,y_offset+45);
if (sensor_readings.humidity < 30) {
display.print("low");
} else if (sensor_readings.humidity < 60) {
display.print("comfort");
} else {
display.print("high");
}
// Pressure
display.drawRect(130,y_offset+10,66,50,GxEPD_BLACK);

Loading…
Cancel
Save