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

@@ -26,10 +26,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
pageTest
26 Component(s)
68 Line(s) of event code
@@ -46,6 +42,10 @@ cardAlarm
43 Component(s)
492 Line(s) of event code
269 Unique line(s) of event code
cardLChart
33 Component(s)
394 Line(s) of event code
262 Unique line(s) of event code
screensaver
47 Component(s)
428 Line(s) of event code
@@ -86,5 +86,5 @@ cardEntities
Total
20 Page(s)
737 Component(s)
8824 Line(s) of event code
2271 Unique line(s) of event code
8810 Line(s) of event code
2264 Unique line(s) of event code