From fd493ee596d356dad2fa33ee0e2363969ffa5002 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sat, 16 Sep 2023 15:55:34 +0700 Subject: [PATCH] update prints --- src/main.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index efd3f90..d72f841 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -322,11 +322,15 @@ void network_begin() ETH.begin(); ETH.setHostname(HOSTNAME); ETH.config(IP, GATEWAY, SUBNET, DNS, DNS); - for (int i = 0; i < 3; i++) - { - delay(2500); - Serial.print(" ."); - } + delay(1000); + lcd_send_command("boot_state.txt=\"Ethernet Core Initializing . . .\""); + delay(500); + lcd_send_command("boot_state.txt=\"MQTT Core Initializing . . .\""); + delay(1250); + lcd_send_command("boot_state.txt=\"FRAM Initializing . . .\""); + delay(325); + lcd_send_command("boot_state.txt=\"Software Initializing . . .\""); + delay(500); Serial.println(); } @@ -823,7 +827,7 @@ void lcd_ac_refresh_mode() // auto high mid low panel.writeNum("mode_cool.pic", ac_mode == 1 ? 12 : 13); panel.writeNum("mode_fan.pic", ac_mode == 2 ? 22 : 23); - panel.writeNum("mode_off.pic", ac_mode == 0 ? 24 : 25); + panel.writeNum("mode_off.pic", ac_mode == 0 ? 24 : 23); } void lcd_ac_refresh_fan()