firmware wip - add display stuff

This commit is contained in:
Marcus 2024-05-01 03:33:08 +02:00
parent ffae349878
commit 4d5d347885

View file

@ -1063,12 +1063,15 @@ void displayScreens() {
display.print("Humidity: ");
display.print(valHumidity);
display.println(" %");
display.println("");
display.print("Temperature: ");
display.print(valTemperature);
display.println(" C");
display.println("");
display.print("Moisture: ");
display.print(valSoilmoisture);
display.println(" %");
display.println("");
if(UsePump == true) {
display.print("Pump Waterlvl: ");
switch(valWaterlevel) {
@ -1084,6 +1087,7 @@ void displayScreens() {
}
}
break;
case 1:
display.print("LED: ");
display.print(PinLEDPWM * 100 / 255);
@ -1100,6 +1104,7 @@ void displayScreens() {
display.print("Pump state: ");
display.println(digitalRead(PinPUMP));
break;
case 2:
// display Logo
display.drawBitmap(0, 0, bmpCanGrow_Logo, 128, 32, WHITE);