Fallback to 115200bps permanently and faster when no connection from ESPHome

Solves #1667
Solves #1674
This commit is contained in:
Edward Firmo
2024-01-18 00:36:45 +01:00
parent 8849afbbb0
commit bb46aa9722
19 changed files with 43 additions and 24 deletions

View File

@@ -102,7 +102,7 @@ Text tft_version
Dragging : 0
Send Component ID : on press and release
Associated Keyboard: none
Text : 4.2.3
Text : 4.2.4dev
Max. Text Size : 9
Text esph_version
@@ -166,13 +166,13 @@ Timer tm_esphome
Attributes
ID : 13
Scope : local
Period (ms): 30000
Period (ms): 10000
Enabled : yes
Events
Timer Event
counter.val++
if(counter.val>60)
if(counter.val>30)
{
rest
}
@@ -198,7 +198,7 @@ Timer tm_esphome
sys0=counter.val%10
if(sys0==0)
{
baud=115200
bauds=115200
}
covx baud,baud_rate.txt,0,0
baud_rate.txt+=" bps"