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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user