Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2022-03-29 08:35:51 +00:00
committed by GitHub Actions
parent 0d9a850ec9
commit e31f163797
12 changed files with 571 additions and 2099 deletions

View File

@@ -118,28 +118,28 @@ Variable (string) entn1
ID : 49
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) entn2
Attributes
ID : 50
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) entn3
Attributes
ID : 51
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) entn4
Attributes
ID : 52
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) entn5
Attributes
@@ -755,13 +755,7 @@ Button bPrev
Events
Touch Press Event
nPage=nPage-1
//page open event
// event,pageOpen,cardEntities,pageNumber
// craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,pageOpen,"+tTmp.txt
tSend.txt="event,buttonPress2,cardEntities,bPrev"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -787,13 +781,7 @@ Button bNext
Events
Touch Press Event
nPage=nPage+1
//page open event
// event,pageOpen,cardEntities,pageNumber
// craft command
// convert pageNumber and write to tTmp
covx nPage,tTmp.txt,0,0
tSend.txt="event,pageOpen,"+tTmp.txt
tSend.txt="event,buttonPress2,cardEntities,bNext"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC