sync (add nextion2text)

This commit is contained in:
joBr99
2022-05-21 09:47:28 +00:00
committed by github-actions[bot]
parent bbfcee783b
commit e8720aa2bd
10 changed files with 342 additions and 312 deletions

View File

@@ -555,7 +555,7 @@ Dual-state Button btOnOff2
prints tSend.txt,0
prints crcval,2
Hotspot mSwipeUp
Hotspot mSwipePrev
Attributes
ID : 25
Scope : local
@@ -563,6 +563,43 @@ Hotspot mSwipeUp
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 5
Width : 9
Height : 470
Effect : load
Effect Priority : 0
Effect Time : 300
Events
Touch Press Event
//This thin hotspot down the edge will intercept swipes
//from the bezel into the screen area before the
//Nextion register touch for any other components -
//IF the hotspot is 'layered' at the top (use the up
//arrow at the far left of the Nextion Editor Tool Bar).
//
//Calibrate how wide the edge hotspot has to be on your
//own physical device using this screen to test the
//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
//
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="1")
{
click bPrev,1
}
Hotspot mSwipeUp
Attributes
ID : 26
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 10
y coordinate : 0
Width : 300
@@ -594,7 +631,7 @@ Hotspot mSwipeUp
Hotspot mSwipeNext
Attributes
ID : 26
ID : 27
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -629,43 +666,6 @@ Hotspot mSwipeNext
click bNext,1
}
Hotspot mSwipePrev
Attributes
ID : 27
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 0
y coordinate : 5
Width : 9
Height : 470
Effect : load
Effect Priority : 0
Effect Time : 300
Events
Touch Press Event
//This thin hotspot down the edge will intercept swipes
//from the bezel into the screen area before the
//Nextion register touch for any other components -
//IF the hotspot is 'layered' at the top (use the up
//arrow at the far left of the Nextion Editor Tool Bar).
//
//Calibrate how wide the edge hotspot has to be on your
//own physical device using this screen to test the
//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
//
spstr tId.txt,tTmp.txt,"|",0
if(tTmp.txt=="1")
{
click bPrev,1
}
Timer tmSerial
Attributes
ID : 5