Simplify touchevent engine

The touch event is used only for the sleeping engine (it will be used for dimming later) and it was transferring all the json info with page name, component, entity, etc.
This was replaced by a simple random integer with no meaning other than "the screen was touched, reset the timer".
This commit is contained in:
Edward Firmo
2023-09-11 12:17:10 +02:00
parent f1e3dc49e6
commit 7452dfd2bb
89 changed files with 581 additions and 496 deletions

View File

@@ -11,7 +11,7 @@ Program.s
int display_mode=1 // 1 = EU, 2 = US, 3 = US landscape
bauds=115200//Configure baudrate
recmod=0//Serial data parsing mode:0-Passive mode;1-Active mode
//randset 0,65535//used for touchevent sensor
randset 0,65535//used for touchevent sensor
printh 00 00 00 ff ff ff 88 ff ff ff//Output power on information to serial port
if(display_mode==1)
{