Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)

This commit is contained in:
joBr99
2022-05-21 09:56:58 +00:00
committed by github-actions[bot]
parent 463b852172
commit b1bfc284da
5 changed files with 37 additions and 143 deletions

View File

@@ -995,7 +995,7 @@ Button arm4
prints crcval,2
tCode.txt=""
Hotspot mSwipePrev
Hotspot mSwipeNext
Attributes
ID : 35
Scope : local
@@ -1003,7 +1003,7 @@ Hotspot mSwipePrev
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
x coordinate : 311
y coordinate : 5
Width : 9
Height : 470
@@ -1024,12 +1024,12 @@ Hotspot mSwipePrev
//x & y coordinates where the swipe is first detected.)
//---------------------------
//The navigation text is stored as local variable within tld.txt
//Pressing left button if swiped on the left side of the screen
//Pressing right button if swiped on the right side of the screen
//
spstr tId.txt,tTmp.txt,"|",0
spstr tId.txt,tTmp.txt,"|",1
if(tTmp.txt=="1")
{
click bPrev,1
click bNext,1
}
Hotspot mSwipeUp
@@ -1069,7 +1069,7 @@ Hotspot mSwipeUp
click bPrev,1
}
Hotspot mSwipeNext
Hotspot mSwipePrev
Attributes
ID : 37
Scope : local
@@ -1077,7 +1077,7 @@ Hotspot mSwipeNext
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 311
x coordinate : 0
y coordinate : 5
Width : 9
Height : 470
@@ -1098,12 +1098,12 @@ Hotspot mSwipeNext
//x & y coordinates where the swipe is first detected.)
//---------------------------
//The navigation text is stored as local variable within tld.txt
//Pressing right button if swiped on the right side of the screen
//Pressing left button if swiped on the left side of the screen
//
spstr tId.txt,tTmp.txt,"|",1
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="1")
{
click bNext,1
click bPrev,1
}
Timer tmSerial