mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-03-01 16:06:51 +01:00
Merge branch 'main' of github.com:joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
@@ -40,25 +40,6 @@ Page cardThermo
|
||||
vis bt6,0
|
||||
vis bt7,0
|
||||
vis bt8,0
|
||||
//page open event
|
||||
// event,pageOpen,cardThermo,pageNumber
|
||||
// craft command
|
||||
// convert pageNumber and write to tTmp
|
||||
covx nPage,tTmp.txt,0,0
|
||||
tSend.txt="event,pageOpen,"+tTmp.txt
|
||||
//send calc crc
|
||||
btlen tSend.txt,sys0
|
||||
crcrest 1,0xffff // reset CRC
|
||||
crcputh 55 bb
|
||||
crcputs sys0,1
|
||||
crcputs tSend.txt,0
|
||||
//send cmd
|
||||
printh 55 bb
|
||||
prints sys0,2
|
||||
prints tSend.txt,0
|
||||
prints crcval,2
|
||||
//display current page from global var
|
||||
nPageDisp.val=nPage
|
||||
|
||||
Variable (string) strCommand
|
||||
Attributes
|
||||
@@ -564,7 +545,7 @@ Button bNext
|
||||
Font ID : 2
|
||||
Back. Color : 6371
|
||||
Back. Picture ID (Pressed) : 65535
|
||||
Back. Color (Pressed) : 1024
|
||||
Back. Color (Pressed) : 14823
|
||||
Font Color (Unpressed) : 65535
|
||||
Font Color (Pressed) : 65535
|
||||
Horizontal Alignment : center
|
||||
@@ -728,7 +709,7 @@ Button bPrev
|
||||
Font ID : 2
|
||||
Back. Color : 6371
|
||||
Back. Picture ID (Pressed) : 65535
|
||||
Back. Color (Pressed) : 1024
|
||||
Back. Color (Pressed) : 14823
|
||||
Font Color (Unpressed) : 65535
|
||||
Font Color (Pressed) : 65535
|
||||
Horizontal Alignment : center
|
||||
|
||||
Reference in New Issue
Block a user