added page command to screensaver (add nextion2text)

This commit is contained in:
joBr99
2022-03-19 07:22:33 +00:00
committed by GitHub Actions
parent fdbae233fd
commit b1be7932c3
2 changed files with 12 additions and 4 deletions

View File

@@ -12,8 +12,8 @@ pageSerialTest
43 Unique line(s) of event code
screensaver
25 Component(s)
146 Line(s) of event code
116 Unique line(s) of event code
152 Line(s) of event code
118 Unique line(s) of event code
pageSwipeTest
18 Component(s)
62 Line(s) of event code
@@ -58,5 +58,5 @@ cardAlarm
Total
13 Page(s)
302 Component(s)
2659 Line(s) of event code
682 Unique line(s) of event code
2665 Line(s) of event code
684 Unique line(s) of event code

View File

@@ -725,6 +725,14 @@ Timer tmSerial
//tForecast2Val
spstr strCommand.txt,tForecast2Val.txt,"?",10
}
if(tInstruction.txt=="page")
{
//pagenumber
spstr strCommand.txt,tTmp.txt,"?",1
covx tTmp.txt,sys0,0,0
substr pageIcons.tIcons.txt,nPage,sys0,1
//don't send current page number, wake will do
}
if(tInstruction.txt=="pageType")
{
//command format pageType,specialPageName