Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/18/04 08:49
Read: times


 
#81433 - ON-OFF - Press and Hold for 2nd Function
Hi
I was just reading the post below and it reminded me of a problem I have.

I have an application where I have a single input off an interrupt that I want to perform 2 functions,
The 1st function sends message 1 between 0 & 500mSecs
The 2nd function sends message 2 @ < 1000mSecs

Both of the functions work no problem, however the problem that I have is with function 1, how can I determine if the function is a first or second function, until the user removes their finger from the button (which is how I currently have it)?

If they leave their finger on the button and the time exceeds 1000mSec, then no problem, I know for certain that this is the 2nd function.

Having to remove your finger from the button before execution of the command for function 1 is a bit counter intuitive. Any thoughts?

Its been driving me nuts for months

Regards

Marshall Brown

List of 9 messages in thread
TopicAuthorDate
ON-OFF - Press and Hold for 2nd Function            01/01/70 00:00      
   Change time            01/01/70 00:00      
      Change time            01/01/70 00:00      
   Duh - typo sorry            01/01/70 00:00      
   Use a timing function            01/01/70 00:00      
   not counter - intuitive            01/01/70 00:00      
      not counter - intuitive            01/01/70 00:00      
      More info needed            01/01/70 00:00      
   pushbutton stuff            01/01/70 00:00      

Back to Subject List