fixed dim value on wake (add nextion2text)

This commit is contained in:
joBr99
2022-03-20 14:05:54 +00:00
committed by GitHub Actions
parent 67cf44edb6
commit 3d4338cc16
2 changed files with 7 additions and 6 deletions

View File

@@ -38,10 +38,6 @@ popupLight
27 Component(s) 27 Component(s)
297 Line(s) of event code 297 Line(s) of event code
154 Unique line(s) of event code 154 Unique line(s) of event code
screensaver
25 Component(s)
173 Line(s) of event code
124 Unique line(s) of event code
cardMedia cardMedia
22 Component(s) 22 Component(s)
210 Line(s) of event code 210 Line(s) of event code
@@ -54,6 +50,10 @@ cardAlarm
28 Component(s) 28 Component(s)
147 Line(s) of event code 147 Line(s) of event code
106 Unique line(s) of event code 106 Unique line(s) of event code
screensaver
25 Component(s)
173 Line(s) of event code
124 Unique line(s) of event code
cardEntities cardEntities
54 Component(s) 54 Component(s)
808 Line(s) of event code 808 Line(s) of event code

View File

@@ -666,8 +666,8 @@ Timer tmSerial
spstr strCommand.txt,tInstruction.txt,",",0 spstr strCommand.txt,tInstruction.txt,",",0
if(tInstruction.txt=="wake") if(tInstruction.txt=="wake")
{ {
dim=100 //dim=100
page originPage.val click tc0,1
} }
if(tInstruction.txt=="dimmode") if(tInstruction.txt=="dimmode")
{ {
@@ -735,6 +735,7 @@ Timer tmSerial
} }
if(tInstruction.txt=="pageType") if(tInstruction.txt=="pageType")
{ {
dim=100
//command format pageType,specialPageName //command format pageType,specialPageName
//write name of speical page to tId //write name of speical page to tId
spstr strCommand.txt,tId.txt,",",1 spstr strCommand.txt,tId.txt,",",1