mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-01-06 14:45:46 +01:00
Update nextion2text.yml (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
a91db78063
commit
e34355887e
16
HMI/n2t-out-visual/Program.s.txt
Normal file
16
HMI/n2t-out-visual/Program.s.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
Program.s
|
||||
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data
|
||||
int sys0=0,sys1=0,sys2=0 //At present, the definition of global variable only supports 4-byte signed integer (int), and other types of global quantity declaration are not supported. If you want to use string type, you can use variable control in the page to implement
|
||||
int bufferPos=0
|
||||
int recvCrc=0
|
||||
int payloadLength=0
|
||||
int par0=0,par1=0
|
||||
// sleep timeout in s
|
||||
int sleepTimeout=20
|
||||
int sleepValue=0
|
||||
// dim value
|
||||
int dimValue=40
|
||||
int dimValueNormal=100
|
||||
// fix touch offset
|
||||
lcd_dev fffb 0002 0000 0020
|
||||
page pageStartup
|
||||
Reference in New Issue
Block a user