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

@@ -1,20 +1,5 @@
--- HMI/n2t-out
+++ HMI/US/landscape/n2t-out
├── file list
│ @@ -1,13 +1,12 @@
│ Program.s.txt
│ cardAlarm.txt
│ cardEntities.txt
│ cardGrid.txt
│ cardMedia.txt
│ -cardPower.txt
│ cardQR.txt
│ cardThermo.txt
│ pageIcons.txt
│ pageStartup.txt
│ pageTest.txt
│ popupFan.txt
│ popupLight.txt
├── Program.s.txt
│ @@ -10,10 +10,7 @@
│ int sleepValue=0
@@ -176,7 +161,23 @@
│ }
│ }
├── cardQR.txt
│ @@ -702,18 +702,14 @@
│ @@ -653,15 +653,14 @@
│ //command format pageType,specialPageName
│ //write name of speical page to tId
│ spstr strCommand.txt,tId.txt,"~",1
│ //save second arg if there's one
│ 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
│ if(tId.txt=="pageStartup")
│ {
│ page pageStartup
│ }
│ @@ -703,18 +702,14 @@
│ {
│ page cardAlarm
│ }