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

@@ -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