Simplify page load

To reduce the chances of a serial buffer overflow
This commit is contained in:
Edward Firmo
2024-04-24 11:58:19 +02:00
parent baef06fadf
commit fe26e30a06
90 changed files with 793 additions and 3395 deletions

View File

@@ -12,11 +12,11 @@ Page fan
Events
Preinitialize Event
dim=brightness
if(api==0)
{
page home
}
vis unavailable,0
vis bt_oscillate,0
printh 92
prints "current_page",0
@@ -69,19 +69,9 @@ Text icon_state
Text :
Max. Text Size : 10
Text unavailable
Attributes
ID : 16
Scope : local
Dragging : 0
Send Component ID : disabled
Associated Keyboard: none
Text :
Max. Text Size : 1
Text bt_oscillate
Attributes
ID : 17
ID : 15
Scope : local
Dragging : 0
Send Component ID : on press and release
@@ -336,29 +326,6 @@ Timer timer0
printh 00
printh FF FF FF
Timer wakeup_timer
Attributes
ID : 15
Scope : local
Period (ms): 100
Enabled : yes
Events
Timer Event
if(dim<brightness)
{
dimdelta=brightness-dim
dimdelta/=10
if(dimdelta<1)
{
dimdelta=1
}
dim+=dimdelta
}else
{
wakeup_timer.en=0
}
TouchCap swipe
Attributes
ID : 4