added double tap feature for screensaver (add nextion2text)

This commit is contained in:
joBr99
2022-03-27 18:26:28 +00:00
committed by GitHub Actions
parent 2eaa8b0502
commit a0ffc9a450
2 changed files with 16 additions and 7 deletions

View File

@@ -51,12 +51,12 @@ cardMedia
256 Line(s) of event code
132 Unique line(s) of event code
screensaver
30 Component(s)
180 Line(s) of event code
130 Unique line(s) of event code
31 Component(s)
183 Line(s) of event code
133 Unique line(s) of event code
Total
13 Page(s)
343 Component(s)
3127 Line(s) of event code
835 Unique line(s) of event code
344 Component(s)
3130 Line(s) of event code
837 Unique line(s) of event code

View File

@@ -88,6 +88,12 @@ Variable (string) tId
Text :
Max. Text Size: 25
Variable (int32) vaTap
Attributes
ID : 30
Scope: local
Value: 0
Number originPage
Attributes
ID : 3
@@ -964,7 +970,10 @@ TouchCap tc0
Events
Touch Press Event
tSend.txt="event,buttonPress2,screensaver,bExit"
dim=100
vaTap.val+=1
covx vaTap.val,tTmp.txt,0,0
tSend.txt="event,buttonPress2,screensaver,bExit,"+tTmp.txt
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC