Fix call to screen page
Fixes the call to screen page on US panel. Reconciliate the US landscape model from EU model.
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
|
||||
## General
|
||||
|
||||
- Thanks for 600 stars.
|
||||
|
||||
###
|
||||
|
||||
|
||||
|
||||
BIN
nspanel_us.HMI
BIN
nspanel_us.HMI
Binary file not shown.
@@ -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
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user