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