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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/23/06 13:54
Modified:
  07/23/06 14:06

Read: times


 
#120876 - wrong approach
Responding to: ???'s previous message
Steven Waters said:

'void EX0_readKeyP(void)interrupt 0 {...}'


Thats already the wrong approach.

For debouncing you need a timer interrupt (5..50ms), but not an external interrupt.

As already pointed out, there are lots of discussions and example code around this forum.

Why you not search ?

Also you can search for "vertical counters".

Vertical counters are perfectly suited to debounce many keys.


Peter


List of 10 messages in thread
TopicAuthorDate
Push button C program required            01/01/70 00:00      
   Is this paid work ?.. (no msg)            01/01/70 00:00      
      Push Button Code            01/01/70 00:00      
         C programming            01/01/70 00:00      
         Skipping lectures            01/01/70 00:00      
         VHDL / C            01/01/70 00:00      
         Obligations            01/01/70 00:00      
            Searching for answers            01/01/70 00:00      
   wrong approach            01/01/70 00:00      
   EXCELLENT!            01/01/70 00:00      

Back to Subject List