mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-18 19:06:58 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
@@ -838,7 +838,6 @@ Button arm1
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
tCode.txt=""
|
|
||||||
// event,buttonPress2,entn,arm1,tCode
|
// event,buttonPress2,entn,arm1,tCode
|
||||||
tSend.txt="event,buttonPress2,"
|
tSend.txt="event,buttonPress2,"
|
||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
@@ -855,6 +854,7 @@ Button arm1
|
|||||||
prints sys0,2
|
prints sys0,2
|
||||||
prints tSend.txt,0
|
prints tSend.txt,0
|
||||||
prints crcval,2
|
prints crcval,2
|
||||||
|
tCode.txt=""
|
||||||
|
|
||||||
Button arm3
|
Button arm3
|
||||||
Attributes
|
Attributes
|
||||||
@@ -892,7 +892,6 @@ Button arm3
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
tCode.txt=""
|
|
||||||
// event,buttonPress2,entn,arm1,tCode
|
// event,buttonPress2,entn,arm1,tCode
|
||||||
tSend.txt="event,buttonPress2,"
|
tSend.txt="event,buttonPress2,"
|
||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
@@ -909,6 +908,7 @@ Button arm3
|
|||||||
prints sys0,2
|
prints sys0,2
|
||||||
prints tSend.txt,0
|
prints tSend.txt,0
|
||||||
prints crcval,2
|
prints crcval,2
|
||||||
|
tCode.txt=""
|
||||||
|
|
||||||
Button arm2
|
Button arm2
|
||||||
Attributes
|
Attributes
|
||||||
@@ -946,7 +946,6 @@ Button arm2
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
tCode.txt=""
|
|
||||||
// event,buttonPress2,entn,arm1,tCode
|
// event,buttonPress2,entn,arm1,tCode
|
||||||
tSend.txt="event,buttonPress2,"
|
tSend.txt="event,buttonPress2,"
|
||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
@@ -963,6 +962,7 @@ Button arm2
|
|||||||
prints sys0,2
|
prints sys0,2
|
||||||
prints tSend.txt,0
|
prints tSend.txt,0
|
||||||
prints crcval,2
|
prints crcval,2
|
||||||
|
tCode.txt=""
|
||||||
|
|
||||||
Button arm4
|
Button arm4
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1000,7 +1000,6 @@ Button arm4
|
|||||||
|
|
||||||
Events
|
Events
|
||||||
Touch Press Event
|
Touch Press Event
|
||||||
tCode.txt=""
|
|
||||||
// event,buttonPress2,entn,arm1,tCode
|
// event,buttonPress2,entn,arm1,tCode
|
||||||
tSend.txt="event,buttonPress2,"
|
tSend.txt="event,buttonPress2,"
|
||||||
tSend.txt+=entn.txt+","
|
tSend.txt+=entn.txt+","
|
||||||
@@ -1017,6 +1016,7 @@ Button arm4
|
|||||||
prints sys0,2
|
prints sys0,2
|
||||||
prints tSend.txt,0
|
prints tSend.txt,0
|
||||||
prints crcval,2
|
prints crcval,2
|
||||||
|
tCode.txt=""
|
||||||
|
|
||||||
Timer tmSerial
|
Timer tmSerial
|
||||||
Attributes
|
Attributes
|
||||||
@@ -1131,6 +1131,15 @@ Timer tmSerial
|
|||||||
vis b10,1
|
vis b10,1
|
||||||
vis tCode,1
|
vis tCode,1
|
||||||
}
|
}
|
||||||
|
//flashing status
|
||||||
|
spstr strCommand.txt,tTmp.txt,",",13
|
||||||
|
if(tTmp.txt=="enable")
|
||||||
|
{
|
||||||
|
tmFlash.en=1
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
tmFlash.en=0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(tInstruction.txt=="time")
|
if(tInstruction.txt=="time")
|
||||||
{
|
{
|
||||||
@@ -1229,6 +1238,25 @@ Timer tmSleep
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Timer tmFlash
|
||||||
|
Attributes
|
||||||
|
ID : 35
|
||||||
|
Scope : local
|
||||||
|
Period (ms): 600
|
||||||
|
Enabled : no
|
||||||
|
|
||||||
|
Events
|
||||||
|
Timer Event
|
||||||
|
if(tIcon.isbr==1)
|
||||||
|
{
|
||||||
|
tIcon.isbr=0
|
||||||
|
vis tIcon,0
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
tIcon.isbr=1
|
||||||
|
vis tIcon,1
|
||||||
|
}
|
||||||
|
|
||||||
TouchCap tc0
|
TouchCap tc0
|
||||||
Attributes
|
Attributes
|
||||||
ID : 12
|
ID : 12
|
||||||
|
|||||||
@@ -51,12 +51,12 @@ screensaver
|
|||||||
183 Line(s) of event code
|
183 Line(s) of event code
|
||||||
133 Unique line(s) of event code
|
133 Unique line(s) of event code
|
||||||
cardAlarm
|
cardAlarm
|
||||||
35 Component(s)
|
36 Component(s)
|
||||||
260 Line(s) of event code
|
277 Line(s) of event code
|
||||||
162 Unique line(s) of event code
|
173 Unique line(s) of event code
|
||||||
|
|
||||||
Total
|
Total
|
||||||
13 Page(s)
|
13 Page(s)
|
||||||
348 Component(s)
|
349 Component(s)
|
||||||
3209 Line(s) of event code
|
3226 Line(s) of event code
|
||||||
856 Unique line(s) of event code
|
864 Unique line(s) of event code
|
||||||
|
|||||||
Reference in New Issue
Block a user