Add screensaver to nspanel_blank.tft
And build a new tft with latest firmware and url for instructions.
This commit is contained in:
57
custom_configuration/nspanel_blank_code/blank.txt
Normal file
57
custom_configuration/nspanel_blank_code/blank.txt
Normal file
@@ -0,0 +1,57 @@
|
||||
Page blank
|
||||
Attributes
|
||||
ID : 0
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID : disabled
|
||||
Locked : no
|
||||
Swide up page ID : disabled
|
||||
Swide down page ID : disabled
|
||||
Swide left page ID : disabled
|
||||
Swide right page ID: disabled
|
||||
|
||||
Events
|
||||
Preinitialize Event
|
||||
dim=100
|
||||
printh 92
|
||||
prints "nspanelevent",0
|
||||
printh 00
|
||||
prints "{\"page\": \"blank\", \"component\": \"currentpage\", \"value\": \"pagechange\", \"version\": \"2023.09.19\"}",0
|
||||
printh 00
|
||||
printh FF FF FF
|
||||
|
||||
Touch Press Event
|
||||
tm0.en=1
|
||||
|
||||
Touch Release Event
|
||||
tm0.en=1
|
||||
|
||||
QR Code qr0
|
||||
Attributes
|
||||
ID : 1
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
Send Component ID: disabled
|
||||
Text : https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/en/nspanel_blank.md#what-to-do-after-installing-nspanel_blanktft
|
||||
Max. Text Size : 150
|
||||
|
||||
Events
|
||||
Touch Press Event
|
||||
tm0.en=1
|
||||
|
||||
Touch Release Event
|
||||
tm0.en=1
|
||||
|
||||
Timer tm0
|
||||
Attributes
|
||||
ID : 2
|
||||
Scope : local
|
||||
Period (ms): 65500
|
||||
Enabled : yes
|
||||
|
||||
Events
|
||||
Timer Event
|
||||
tm0.en=0
|
||||
dim=0
|
||||
page screensaver
|
||||
|
||||
Reference in New Issue
Block a user