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

This commit is contained in:
joBr99
2022-03-31 18:39:22 +00:00
committed by GitHub Actions
parent 5ea2174fbf
commit 01a143c1d6
13 changed files with 266 additions and 76 deletions

View File

@@ -170,7 +170,12 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardAlarm,bPrev"
tSend.txt="event,buttonPress2,cardAlarm,"
if(bPrev.txt=="")
{
tSend.txt+="bUp"
}
tSend.txt+="bPrev"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -714,7 +714,12 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardEntities,bPrev"
tSend.txt="event,buttonPress2,cardEntities,"
if(bPrev.txt=="")
{
tSend.txt+="bUp"
}
tSend.txt+="bPrev"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -242,7 +242,12 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardGrid,bPrev"
tSend.txt="event,buttonPress2,cardGrid,"
if(bPrev.txt=="")
{
tSend.txt+="bUp"
}
tSend.txt+="bPrev"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -435,7 +435,12 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardMedia,bPrev"
tSend.txt="event,buttonPress2,cardMedia,"
if(bPrev.txt=="")
{
tSend.txt+="bUp"
}
tSend.txt+="bPrev"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -329,7 +329,12 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardThermo,bPrev"
tSend.txt="event,buttonPress2,cardThermo,"
if(bPrev.txt=="")
{
tSend.txt+="bUp"
}
tSend.txt+="bPrev"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC