implements #654 (add nextion2text)

This commit is contained in:
joBr99
2022-12-31 14:00:56 +00:00
committed by github-actions[bot]
parent 43df37175a
commit ee19bcf724
6 changed files with 156 additions and 6 deletions

View File

@@ -2902,3 +2902,39 @@
│ Dragging : 0
│ Disable release event after dragging: 0
│ Send Component ID : disabled
│ @@ -508,35 +489,14 @@
│ }
│ if(tInstruction.txt=="timeout")
│ {
│ //set timeout to global var
│ spstr strCommand.txt,tTmp.txt,"~",1
│ covx tTmp.txt,sleepTimeout,0,0
│ }
│ - if(tInstruction.txt=="statusUpdate")
│ - {
│ - //statusIcon1
│ - spstr strCommand.txt,tIcon1.txt,"~",1
│ - spstr strCommand.txt,tTmp.txt,"~",2
│ - covx tTmp.txt,tIcon1.pco,0,0
│ - //statusIcon2
│ - spstr strCommand.txt,tIcon2.txt,"~",3
│ - spstr strCommand.txt,tTmp.txt,"~",4
│ - covx tTmp.txt,tIcon2.pco,0,0
│ - spstr strCommand.txt,tTmp.txt,"~",5
│ - if(tTmp.txt!="")
│ - {
│ - tIcon1.font=3
│ - }
│ - spstr strCommand.txt,tTmp.txt,"~",6
│ - if(tTmp.txt!="")
│ - {
│ - tIcon2.font=3
│ - }
│ - }
│ if(tInstruction.txt=="weatherUpdate"&&tNotifyHead.txt==""&&tNotifyText.txt=="")
│ {
│ vis tMainIcon,1
│ vis tMainIconAlt,0
│ vis tMainText,1
│ vis tMainTextAlt,0
│ vis tMRIcon,0