Fixed Fan page rounding

This commit is contained in:
Edward Firmo
2023-07-03 01:45:36 +02:00
parent d1c1dc018b
commit 661e51671a
10 changed files with 167 additions and 66 deletions

View File

@@ -20,6 +20,26 @@ Page boot
printh 00
printh FF FF FF
Variable (int32) counter
Attributes
ID : 12
Scope: local
Value: 0
Variable (string) aux
Attributes
ID : 13
Scope : local
Text :
Max. Text Size: 10
Variable (string) nspanelevent
Attributes
ID : 14
Scope : local
Text :
Max. Text Size: 100
Text ip_addr
Attributes
ID : 1
@@ -120,3 +140,23 @@ Dual-state Button a01
Text : Reboot
Max. Text Size : 6
Timer timer
Attributes
ID : 11
Scope : local
Period (ms): 65534
Enabled : yes
Events
Timer Event
counter.val++
covx counter.val,aux.txt,0,0
nspanelevent.txt="{\"page\": \"boot\", \"component\": \"timeout\", \"value\": "+aux.txt+"}"
bluep_version.txt="Retry: "+aux.txt
printh 92
prints "nspanelevent",0
printh 00
prints nspanelevent.txt,0
printh 00
printh FF FF FF