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

@@ -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