implement cardPower for US-P and US-L (add nextion2text)

This commit is contained in:
joBr99
2022-10-08 21:13:38 +00:00
committed by github-actions[bot]
parent c701c4a4bf
commit cc6afe7b1d
15 changed files with 4595 additions and 49 deletions

View File

@@ -54,6 +54,12 @@ Page cardPower
b[sys0].bco=defaultBcoColor
b[sys0].pco=defaultFontColor
}
if(b[sys0].type==1)
{
b[sys0].pic=19
b[sys0].pic1=19
b[sys0].pic2=15
}
}
Variable (string) strCommand
@@ -1154,6 +1160,7 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",2
//save third arg if there's one
spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
spstr strCommand.txt,pageIcons.tTmp3.txt,"~",4
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
udelete payloadLength-1
bufferPos=0
@@ -1203,6 +1210,10 @@ Timer tmSerial
{
page cardQR
}
if(tId.txt=="cardPower")
{
page cardPower
}
}
if(tInstruction.txt=="time")
{

View File

@@ -956,6 +956,7 @@ Timer tmSerial
spstr strCommand.txt,tTmp.txt,"~",2
//save third arg if there's one
spstr strCommand.txt,pageIcons.tTmp2.txt,"~",3
spstr strCommand.txt,pageIcons.tTmp3.txt,"~",4
//we are going to exit this page with this command, so we have to clear the buffer, so we are not getting into a stupid loop ...
udelete payloadLength-1
bufferPos=0

View File

@@ -44,8 +44,8 @@ popupShutter
215 Unique line(s) of event code
cardQR
32 Component(s)
408 Line(s) of event code
237 Unique line(s) of event code
409 Line(s) of event code
238 Unique line(s) of event code
cardAlarm
40 Component(s)
426 Line(s) of event code
@@ -60,11 +60,11 @@ cardEntities
521 Unique line(s) of event code
cardPower
43 Component(s)
409 Line(s) of event code
285 Unique line(s) of event code
420 Line(s) of event code
292 Unique line(s) of event code
Total
15 Page(s)
488 Component(s)
5770 Line(s) of event code
1557 Unique line(s) of event code
5782 Line(s) of event code
1561 Unique line(s) of event code