Wait for TFT version on boot sequence

This should be reviewed after https://github.com/esphome/esphome/pull/5673 is released.
This commit is contained in:
Edward Firmo
2023-11-05 20:16:10 +01:00
parent 8184ada7a1
commit 8f128ac6b5
10 changed files with 44 additions and 6 deletions

View File

@@ -21,6 +21,14 @@ Page boot
dim=0
vis bt_reboot,0
covx baud,baud_rate.txt,0,0
covx display_mode,aux2.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"event\": \"pagechanged\", \"version\": \""+tft_version.txt+"\", \"display_mode\": \""+aux2.txt+"\"}"
printh 92
prints "localevent",0
printh 00
prints nspanelevent.txt,0
printh 00
printh FF FF FF
Touch Press Event
printh 91