Thank you for the answers, is it possible to call such a function by entering the page, e.g. page 1
Already translators, I would like the display to start with some informational page (welcome page)
and after going to the next page it automatically turned on two relays, but that they were all the time high until the knock, I will not turn off the power
On page0 in preinicjalize event
on page 4 (welcome), display the greeting and add a timer. Set the timer for a few seconds
In timer events:
printh 65 04 02 00 ff ff ff
printh 65 04 02 00 ff ff ff is like pressing an element with index 02. In arduino, this should be intercepted with a function, e.g. callback, and the relays should be switched on there. I showed this in video # 7.
In the display for the bt0 button in the "Touch release Event" "Send command ID" must be selected. If you have it, I don't know what could be either.
I coped with it, but when I press the physical button, the icon on the display changes like bt0 = 1 but it does not perform the tasks it has assigned, I had to add it to the execution. But then I can't control the display with a button :)