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

This commit is contained in:
joBr99
2022-03-31 21:43:27 +00:00
committed by GitHub Actions
parent 3aaf2582ea
commit ef024faa43
9 changed files with 130 additions and 125 deletions

View File

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