sync (add nextion2text)

This commit is contained in:
joBr99
2022-11-03 17:14:14 +00:00
committed by github-actions[bot]
parent 964cfc1289
commit f5d1a93eb2
13 changed files with 181 additions and 489 deletions

View File

@@ -1014,7 +1014,14 @@ Button bNext
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardAlarm,bNext"
tSend.txt="event,buttonPress2,cardAlarm,"
if(bPrev.txt=="")
{
tSend.txt+="bHome"
}else
{
tSend.txt+="bNext"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1251,6 +1258,11 @@ Timer tmSerial
tsw mSwipeNext,1
bNext.txt=""
}
if(tTmp.txt=="2")
{
vis bNext,1
bNext.txt=""
}
//text arm1
spstr strCommand.txt,arm1.txt,"~",3
if(arm1.txt!="")