fix navigation on cardlchart (add nextion2text)

This commit is contained in:
joBr99
2023-01-24 21:09:36 +00:00
committed by github-actions[bot]
parent a21fdabbe6
commit 259179b323
10 changed files with 31 additions and 115 deletions

View File

@@ -267,14 +267,7 @@ Button bNext
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardChart,"
if(bPrev.txt=="")
{
tSend.txt+="bHome"
}else
{
tSend.txt+="bNext"
}
tSend.txt="event,buttonPress2,"+nent2.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -321,14 +314,7 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardChart,"
if(bPrev.txt=="")
{
tSend.txt+="bUp"
}else
{
tSend.txt+="bPrev"
}
tSend.txt="event,buttonPress2,"+nent1.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC

View File

@@ -18,10 +18,6 @@ cardChart
33 Component(s)
429 Line(s) of event code
292 Unique line(s) of event code
cardLChart
33 Component(s)
408 Line(s) of event code
268 Unique line(s) of event code
popupInSel
34 Component(s)
617 Line(s) of event code
@@ -42,6 +38,10 @@ cardQR
34 Component(s)
402 Line(s) of event code
234 Unique line(s) of event code
cardLChart
33 Component(s)
394 Line(s) of event code
262 Unique line(s) of event code
pageStartup
20 Component(s)
185 Line(s) of event code
@@ -86,5 +86,5 @@ screensaver
Total
20 Page(s)
736 Component(s)
8814 Line(s) of event code
2263 Unique line(s) of event code
8800 Line(s) of event code
2256 Unique line(s) of event code

View File

@@ -186,14 +186,7 @@ Button bNext
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardChart,"
if(bPrev.txt=="")
{
tSend.txt+="bHome"
}else
{
tSend.txt+="bNext"
}
tSend.txt="event,buttonPress2,"+nent2.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -218,14 +211,7 @@ Button bPrev
Events
Touch Press Event
tSend.txt="event,buttonPress2,cardChart,"
if(bPrev.txt=="")
{
tSend.txt+="bUp"
}else
{
tSend.txt+="bPrev"
}
tSend.txt="event,buttonPress2,"+nent1.txt+",button"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC