Hi,
I have 4 buttons switching between 4 banks. pressing the buttons changes the bank to the corresponding bank.
I’d like to add a new feature. I’d like following logic:
if I press/release a button, the bank is changed. but if I press a button (without releasing it for say 300ms) the selected bank is effective only until I release it, in the mean time I can use this temporary bank. when I release the button, the previous bank is set back.
What I need is a way to measure the time from when the din was pressed till it was release. if this time is large enough, the old bank will be set again.
I hope this makes sense.
Thanks
nW