update prints

This commit is contained in:
Siwat Sirichai 2023-09-16 15:55:34 +07:00
parent 572878259c
commit fd493ee596
1 changed files with 10 additions and 6 deletions

View File

@ -322,11 +322,15 @@ void network_begin()
ETH.begin(); ETH.begin();
ETH.setHostname(HOSTNAME); ETH.setHostname(HOSTNAME);
ETH.config(IP, GATEWAY, SUBNET, DNS, DNS); ETH.config(IP, GATEWAY, SUBNET, DNS, DNS);
for (int i = 0; i < 3; i++) delay(1000);
{ lcd_send_command("boot_state.txt=\"Ethernet Core Initializing . . .\"");
delay(2500); delay(500);
Serial.print(" ."); 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(); Serial.println();
} }
@ -823,7 +827,7 @@ void lcd_ac_refresh_mode()
// auto high mid low // auto high mid low
panel.writeNum("mode_cool.pic", ac_mode == 1 ? 12 : 13); panel.writeNum("mode_cool.pic", ac_mode == 1 ? 12 : 13);
panel.writeNum("mode_fan.pic", ac_mode == 2 ? 22 : 23); 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() void lcd_ac_refresh_fan()