ESPHome Watchdog
This implements a watchdog script with complementing the scripts `on_setup` and `refresh_wifi_icon` to be checking the components every minute and taking proper actions (when possible). Solves #1464
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
Program.s
|
||||
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
|
||||
int sys0=0
|
||||
int display_mode=4 // 1 = EU, 2 = US, 3 = US landscape, 4 = blank
|
||||
dim=100//Configure backlight
|
||||
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
|
||||
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
|
||||
|
||||
Reference in New Issue
Block a user