Fixed Fan page rounding
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user