added input boolean to button command (add nextion2text)

This commit is contained in:
joBr99
2022-03-22 22:13:43 +00:00
committed by GitHub Actions
parent 2c401f55ae
commit 58ff0cfcbb
5 changed files with 31 additions and 155 deletions

View File

@@ -332,7 +332,7 @@ Button b2
Touch Press Event
sleepTimeout=vaOldSleepT.val
//craft command
tSend.txt="event,buttonPress,D,D,"+entn.txt+",1,notifyAction,yes"
tSend.txt="event,buttonPress2,"+entn.txt+",notifyAction,yes"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
@@ -381,7 +381,7 @@ Button b1
Touch Press Event
sleepTimeout=vaOldSleepT.val
//craft command
tSend.txt="event,buttonPress,D,D,"+entn.txt+",1,notifyAction,no"
tSend.txt="event,buttonPress2,"+entn.txt+",notifyAction,no"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC