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

@@ -995,46 +995,9 @@ Button arm4
prints crcval,2
tCode.txt=""
Hotspot mSwipeNext
Attributes
ID : 35
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 311
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 right button if swiped on the right side of the screen
//
spstr tId.txt,tTmp.txt,"|",1
if(tTmp.txt=="1")
{
click bNext,1
}
Hotspot mSwipePrev
Attributes
ID : 36
ID : 35
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1071,7 +1034,7 @@ Hotspot mSwipePrev
Hotspot mSwipeUp
Attributes
ID : 37
ID : 36
Scope : local
Dragging : 0
Disable release event after dragging: 0
@@ -1106,6 +1069,43 @@ Hotspot mSwipeUp
click bPrev,1
}
Hotspot mSwipeNext
Attributes
ID : 37
Scope : local
Dragging : 0
Disable release event after dragging: 0
Send Component ID : disabled
Opacity : 127
x coordinate : 311
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 right button if swiped on the right side of the screen
//
spstr tId.txt,tTmp.txt,"|",1
if(tTmp.txt=="1")
{
click bNext,1
}
Timer tmSerial
Attributes
ID : 5