add event for page open (add nextion2text)

This commit is contained in:
joBr99
2023-11-24 17:58:17 +00:00
committed by github-actions[bot]
parent 3f2dac39a0
commit 349db170a6
22 changed files with 1050 additions and 59 deletions

View File

@@ -19,6 +19,18 @@ Page cardGrid2
Events
Preinitialize Event
tSend.txt="event,renderCurrentPage"
//send calc crc
btlen tSend.txt,sys0
crcrest 1,0xffff // reset CRC
crcputh 55 bb
crcputs sys0,2
crcputs tSend.txt,0
//send cmd
printh 55 bb
prints sys0,2
prints tSend.txt,0
prints crcval,2
dim=dimValueNormal
//remove background & activate reparse mode
vis p0,0