diff --git a/custom_configuration/nspanel_blank.HMI b/custom_configuration/nspanel_blank.HMI index 15cdd9f..24ea099 100644 Binary files a/custom_configuration/nspanel_blank.HMI and b/custom_configuration/nspanel_blank.HMI differ diff --git a/custom_configuration/nspanel_blank.tft b/custom_configuration/nspanel_blank.tft index 8ea8016..e3c7fa3 100644 Binary files a/custom_configuration/nspanel_blank.tft and b/custom_configuration/nspanel_blank.tft differ diff --git a/custom_configuration/nspanel_blank_code/blank.txt b/custom_configuration/nspanel_blank_code/blank.txt index 07da53b..f4c073d 100644 --- a/custom_configuration/nspanel_blank_code/blank.txt +++ b/custom_configuration/nspanel_blank_code/blank.txt @@ -22,14 +22,113 @@ Page blank printh 92 prints "nspanelevent",0 printh 00 - prints "{\"page\": \"blank\", \"component\": \"currentpage\", \"value\": \"pagechange\", \"version\": \"2023.09.19\"}",0 + prints "{\"page\": \"blank\", \"component\": \"currentpage\", \"value\": \"pagechange\", \"version\": \"2023.11.0\"}",0 printh 00 printh FF FF FF + covx baud,baud_rate.txt,0,0 + baud_rate.txt+=" bps" Touch Press Event + dim=100 tm0.en=1 Touch Release Event + dim=100 + tm0.en=1 + +Text file_name + Attributes + ID : 4 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : nspanel_blank.tft + Max. Text Size : 20 + + Events + Touch Press Event + dim=100 + tm0.en=1 + + Touch Release Event + dim=100 + tm0.en=1 + +Text baud_rate + Attributes + ID : 5 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + + Events + Touch Press Event + dim=100 + tm0.en=1 + + Touch Release Event + dim=100 + tm0.en=1 + +Text tft_version + Attributes + ID : 6 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : TFT: v2023.11.0 + Max. Text Size : 20 + + Events + Touch Press Event + dim=100 + tm0.en=1 + + Touch Release Event + dim=100 + tm0.en=1 + +Text framework + Attributes + ID : 7 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : + Max. Text Size : 20 + + Events + Touch Press Event + dim=100 + tm0.en=1 + + Touch Release Event + dim=100 + tm0.en=1 + +Text esp_version + Attributes + ID : 8 + Scope : local + Dragging : 0 + Send Component ID : disabled + Associated Keyboard: none + Text : ESP: Waiting... + Max. Text Size : 20 + + Events + Touch Press Event + dim=100 + tm0.en=1 + + Touch Release Event + dim=100 tm0.en=1 QR Code qr0 @@ -43,9 +142,11 @@ QR Code qr0 Events Touch Press Event + dim=100 tm0.en=1 Touch Release Event + dim=100 tm0.en=1 Timer tm0 @@ -57,7 +158,25 @@ Timer tm0 Events Timer Event + dim=15 tm0.en=0 - dim=0 - page screensaver + +Timer tm_esphome + Attributes + ID : 3 + Scope : local + Period (ms): 30000 + Enabled : yes + + Events + Timer Event + if(baud==115200) + { + bauds=921600 + }else + { + bauds=115200 + } + covx baud,baud_rate.txt,0,0 + baud_rate.txt+=" bps" diff --git a/nspanel_eu.HMI b/nspanel_eu.HMI index 5a750b4..d058cbb 100644 Binary files a/nspanel_eu.HMI and b/nspanel_eu.HMI differ diff --git a/nspanel_eu.tft b/nspanel_eu.tft index fcf531b..597e09b 100644 Binary files a/nspanel_eu.tft and b/nspanel_eu.tft differ diff --git a/nspanel_eu_code/boot.txt b/nspanel_eu_code/boot.txt index 192eb38..22c5d00 100644 --- a/nspanel_eu_code/boot.txt +++ b/nspanel_eu_code/boot.txt @@ -21,7 +21,7 @@ Page boot dim=0 vis bt_reboot,0 covx baud,baud_rate.txt,0,0 - baud_rate.txt+="bps" + baud_rate.txt+=" bps" covx display_mode,aux2.txt,0,0 nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" printh 92 @@ -255,7 +255,8 @@ Timer tm_esphome { bauds=115200 } - rest + covx baud,baud_rate.txt,0,0 + baud_rate.txt+=" bps" Timer tm_pageid Attributes diff --git a/nspanel_us.HMI b/nspanel_us.HMI index c83566f..9bac26a 100644 Binary files a/nspanel_us.HMI and b/nspanel_us.HMI differ diff --git a/nspanel_us.tft b/nspanel_us.tft index aa3c588..8a2a242 100644 Binary files a/nspanel_us.tft and b/nspanel_us.tft differ diff --git a/nspanel_us_code/boot.txt b/nspanel_us_code/boot.txt index 192eb38..22c5d00 100644 --- a/nspanel_us_code/boot.txt +++ b/nspanel_us_code/boot.txt @@ -21,7 +21,7 @@ Page boot dim=0 vis bt_reboot,0 covx baud,baud_rate.txt,0,0 - baud_rate.txt+="bps" + baud_rate.txt+=" bps" covx display_mode,aux2.txt,0,0 nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" printh 92 @@ -255,7 +255,8 @@ Timer tm_esphome { bauds=115200 } - rest + covx baud,baud_rate.txt,0,0 + baud_rate.txt+=" bps" Timer tm_pageid Attributes diff --git a/nspanel_us_land.HMI b/nspanel_us_land.HMI index 0346106..eaaed66 100644 Binary files a/nspanel_us_land.HMI and b/nspanel_us_land.HMI differ diff --git a/nspanel_us_land.tft b/nspanel_us_land.tft index 66c0e11..fabdd11 100644 Binary files a/nspanel_us_land.tft and b/nspanel_us_land.tft differ diff --git a/nspanel_us_land_code/boot.txt b/nspanel_us_land_code/boot.txt index 192eb38..22c5d00 100644 --- a/nspanel_us_land_code/boot.txt +++ b/nspanel_us_land_code/boot.txt @@ -21,7 +21,7 @@ Page boot dim=0 vis bt_reboot,0 covx baud,baud_rate.txt,0,0 - baud_rate.txt+="bps" + baud_rate.txt+=" bps" covx display_mode,aux2.txt,0,0 nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}" printh 92 @@ -255,7 +255,8 @@ Timer tm_esphome { bauds=115200 } - rest + covx baud,baud_rate.txt,0,0 + baud_rate.txt+=" bps" Timer tm_pageid Attributes