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

@@ -76,28 +76,28 @@ Variable (string) entn1
ID : 18
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) entn2
Attributes
ID : 19
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) entn3
Attributes
ID : 20
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) entn4
Attributes
ID : 21
Scope : local
Text :
Max. Text Size: 50
Max. Text Size: 70
Variable (string) type5
Attributes
@@ -269,13 +269,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,cardGrid,bPrev"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -301,13 +295,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,cardGrid,bNext"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC