From 4d5d347885d7ae467782e01ffaf8781b9f1532f1 Mon Sep 17 00:00:00 2001 From: Marcus Date: Wed, 1 May 2024 03:33:08 +0200 Subject: [PATCH] firmware wip - add display stuff --- Arduino/CanGrow/CanGrow.ino | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 563b4ea..23e8cd1 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -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);