1 out of 1 members found this post helpful.
Did you find this post helpful?

|
Re: Two Button detect for long press same time
so, I have made a exhaust fan timer with 1 mom button that will.... depending on press duration do..
----- >50ms and < 2seconds..... run fan for the programmed time of 15, 30, 60 or 120 minutes
---- continued press of >2 sec and < 5 sec times the fan for an 8 hour period then turns off
---- continued press of >5sec and held here until let go enters the programming mode for 30 seconds where the button is pressed once or twice or 3X or 4X to set the base run time for normal operation.... In any modes while running, a switch press turns cycle to off
*** I did it with for/next's and if's and repetitive small pauses for the timing
*** For2 buttons, I would work the first button pressed to completion then go on to continue on to checking for other or next sw press check
Bookmarks