Good morning,
I am currently working on implementing a display dimmer. I want the display to dim after X minutes. This works so far.
The implementation is done via the Linux subsystem, to which a command is sent to dim the display.
However, my problem is resetting the timer when input is received.
I want the dimming timer to be reset with each click/touch. Unfortunately, I can't find a suitable solution for this.
Are there any ways to do this?
Codesys v3.5 SP19 Patch 2
https://content.helpme-codesys.com/en/libs/VisuElemBase/Current/Public-Parts/Interfaces/IMouseEventHandler.html https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_visu_event_handler.html
Perfect, works after a bit Try & Error, Thank you!
Log in to post a comment.
Good morning,
I am currently working on implementing a display dimmer. I want the display to dim after X minutes. This works so far.
The implementation is done via the Linux subsystem, to which a command is sent to dim the display.
However, my problem is resetting the timer when input is received.
I want the dimming timer to be reset with each click/touch. Unfortunately, I can't find a suitable solution for this.
Are there any ways to do this?
Codesys v3.5 SP19 Patch 2
https://content.helpme-codesys.com/en/libs/VisuElemBase/Current/Public-Parts/Interfaces/IMouseEventHandler.html
https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_visu_event_handler.html
Perfect, works after a bit Try & Error, Thank you!