Guest nomadicWhale Posted September 9, 2004 Report Share Posted September 9, 2004 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.ThanksnW Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.