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

@@ -857,7 +857,14 @@ Button bNext
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardGrid,bNext"
tSend.txt="event,buttonPress2,cardGrid,"
if(bPrev.txt=="")
{
tSend.txt+="bHome"
}else
{
tSend.txt+="bNext"
}
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -1123,6 +1130,11 @@ Timer tmSerial
tsw mSwipeNext,1
bNext.txt=""
}
if(tTmp.txt=="2")
{
vis bNext,1
bNext.txt=""
}
// get Type
spstr strCommand.txt,type1.txt,"~",3
// get internal name