Initial import of cardChart (#592) (add nextion2text)

This commit is contained in:
joBr99
2022-11-23 21:49:07 +00:00
committed by github-actions[bot]
parent 193091b7d0
commit f8c8c803eb
106 changed files with 7677 additions and 250 deletions

View File

@@ -1015,7 +1015,7 @@ Button bNext
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardAlarm,"
if(bNext.txt=="")
if(bNext.txt=="?")
{
tSend.txt+="bHome"
}else
@@ -1069,7 +1069,7 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardAlarm,"
if(bPrev.txt=="")
if(bPrev.txt=="?")
{
tSend.txt+="bUp"
}else
@@ -1237,14 +1237,14 @@ Timer tmSerial
vis bPrev,1
tsw mSwipePrev,1
tsw mSwipeUp,0
bPrev.txt=""
bPrev.txt="?"
}
if(tTmp.txt=="2")
{
vis bPrev,1
tsw mSwipePrev,0
tsw mSwipeUp,1
bPrev.txt=""
bPrev.txt="?"
}
spstr tId.txt,tTmp.txt,"|",1
if(tTmp.txt=="0")
@@ -1256,12 +1256,12 @@ Timer tmSerial
{
vis bNext,1
tsw mSwipeNext,1
bNext.txt=""
bNext.txt="?"
}
if(tTmp.txt=="2")
{
vis bNext,1
bNext.txt=""
bNext.txt="?"
}
//text arm1
spstr strCommand.txt,arm1.txt,"~",3
@@ -1455,6 +1455,10 @@ Timer tmSerial
{
page cardPower
}
if(tId.txt=="cardChart")
{
page cardChart
}
}
// end of user code
udelete payloadLength-1