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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/31/03 16:20
Read: times


 
#51833 - software debouncing
I'm still learning the "INT" function of the 89C52.
I've tried this:
Everytime the INT triggered, CPL P1.0.
So:
1st press: ON
2nd press: OFF
3rd press: ON
...
should be like this; but it didn't:
1st : ON
2nd : OFF
3rd : OFF
4th : ON
5th : OFF
...
...
...
it doesn't react to my pressing everytime. I guess this is because of the "debounce".

Can anyone tell me how to do "software debounce"? I just know how to do hardware debounce...

Stanley

List of 8 messages in thread
TopicAuthorDate
software debouncing            01/01/70 00:00      
   RE: software debouncing            01/01/70 00:00      
      RE: software debouncing            01/01/70 00:00      
   RE: software debouncing            01/01/70 00:00      
      RE: software debouncing            01/01/70 00:00      
         RE: software debouncing            01/01/70 00:00      
            RE: software debouncing            01/01/70 00:00      
   RE: software debouncing (alternative)            01/01/70 00:00      

Back to Subject List