mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-21 13:44:45 +01:00
Merge branch 'main' of https://github.com/joBr99/nspanel-lovelace-ui (add nextion2text)
This commit is contained in:
committed by
github-actions[bot]
parent
463b852172
commit
b1bfc284da
@@ -466,7 +466,7 @@ Button arm4
|
||||
prints crcval,2
|
||||
tCode.txt=""
|
||||
|
||||
Hotspot mSwipePrev
|
||||
Hotspot mSwipeNext
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -486,12 +486,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
|
||||
@@ -522,7 +522,7 @@ Hotspot mSwipeUp
|
||||
click bPrev,1
|
||||
}
|
||||
|
||||
Hotspot mSwipeNext
|
||||
Hotspot mSwipePrev
|
||||
Attributes
|
||||
Scope : local
|
||||
Dragging : 0
|
||||
@@ -542,12 +542,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
|
||||
|
||||
Reference in New Issue
Block a user