From 5a8fecf68c9e4cedef4644beda9b3d378ade8d17 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Wed, 14 Jan 2026 22:23:05 +0300 Subject: [PATCH] Prettier LCD info --- hotwater.ino | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hotwater.ino b/hotwater.ino index b1f7f91..236ef1d 100644 --- a/hotwater.ino +++ b/hotwater.ino @@ -172,11 +172,13 @@ void loop() lcd.print(" ("); lcd.print(t_target / 100); lcd.print(") "); - if (mode == MODE_ON) lcd.print("ON"); - else lcd.print("OFF"); lcd.setCursor(0, 1); - lcd.print("S: "); - lcd.print(cur_state); + if (mode == MODE_ON) + { + if (cur_state == 1) lcd.print("HEAT"); + else lcd.print("IDLE"); + } + else lcd.print("OFF"); lcd.print(" WiFi: "); lcd.print(WiFi.status()); }