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

This commit is contained in:
joBr99
2022-05-21 09:53:07 +00:00
committed by github-actions[bot]
parent b82187a4f0
commit 8649bd562e
8 changed files with 63 additions and 275 deletions

View File

@@ -295,7 +295,7 @@ Dual-state Button btOnOff2
prints tSend.txt,0
prints crcval,2
Hotspot mSwipePrev
Hotspot mSwipeNext
Attributes
Scope : local
Dragging : 0
@@ -315,12 +315,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
@@ -351,7 +351,7 @@ Hotspot mSwipeUp
click bPrev,1
}
Hotspot mSwipeNext
Hotspot mSwipePrev
Attributes
Scope : local
Dragging : 0
@@ -371,12 +371,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

View File

@@ -795,7 +795,7 @@ Dual-state Button btDown
prints tSend.txt,0
prints crcval,2
Hotspot mSwipePrev
Hotspot mSwipeNext
Attributes
Scope : local
Dragging : 0
@@ -815,12 +815,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
@@ -851,7 +851,7 @@ Hotspot mSwipeUp
click bPrev,1
}
Hotspot mSwipeNext
Hotspot mSwipePrev
Attributes
Scope : local
Dragging : 0
@@ -871,12 +871,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