??? 08/18/04 20:52 Read: times |
#76131 - RE: debouncing code using vertical count Responding to: ???'s previous message |
Since bouncing was in the range of some ms, there must be inserted a delay of about 2..200ms.
So it is suggested to insert the debouncing routine inside the timer interrupt. I use a similiar solution already over years: http://www.8052.com/forum/read.phtml?id=57958 I have added a 4th byte which contain the transition state. Since most times the changing from the released to the pressed state should be used to do something. Peter |
Topic | Author | Date |
debouncing code using vertical counters | 01/01/70 00:00 | |
RE: debouncing code using vertical count | 01/01/70 00:00 | |
RE: debouncing code using vertical count | 01/01/70 00:00 | |
RE: debouncing code using vertical counters | 01/01/70 00:00 | |
RE: debouncing code using vertical count | 01/01/70 00:00 | |
RE: debouncing code using vertical counters | 01/01/70 00:00 | |
RE: debouncing code using vertical count | 01/01/70 00:00 | |
RE: debouncing code using vertical count | 01/01/70 00:00 | |
RE: debouncing code using vertical counters | 01/01/70 00:00 | |
RE: debouncing code using vertical count | 01/01/70 00:00 | |
RE: debouncing code using vertical counters | 01/01/70 00:00 | |
RE: debouncing code using vertical counters![]() | 01/01/70 00:00 |