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

This commit is contained in:
joBr99
2022-03-31 21:34:55 +00:00
committed by GitHub Actions
parent 47eee71681
commit eb06b2056e
5 changed files with 42 additions and 46 deletions

View File

@@ -872,7 +872,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