Hold button for set time to enter a routine
Posted: Tue Oct 04, 2022 4:55 pm
Hi
I'm trying to detect that if a button is pressed for >=to 5s a calibration routine will run and then goto normal mode. if the button is released before the 5s then normal mode is run. due to other hardware the push button needs to be on port E1. Attached is a test fcfx attempt which doesn't work. Pleased advise if there is a solution either with the attached fcfx or another
I'm trying to detect that if a button is pressed for >=to 5s a calibration routine will run and then goto normal mode. if the button is released before the 5s then normal mode is run. due to other hardware the push button needs to be on port E1. Attached is a test fcfx attempt which doesn't work. Pleased advise if there is a solution either with the attached fcfx or another