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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/05/01 11:53
Read: times


 
#10610 - RE: Bouncing Effect
Hi,

What I did for my 6x8 keypad consisting 48 keys.

I used a timer interrupt to scan the keypad preodically. Upon detecting a key pressed, I will keep on reading the keypad until the value changes back to normal (0xFF). Anything that's not 0xFF when I read back, mean that a key has been depressed.

I will continue to wait for 255 times in a for loop. Once the loop expire, I will exit out the ISR. Adjust this loop to suit your own taste or feeling.

WhatI get from this, is something similar (not 100%) to keyboard effect.

Hope this helps

Best Regards
Andy


List of 14 messages in thread
TopicAuthorDate
Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: Bouncing Effect            01/01/70 00:00      
RE: 74HC14 you are rigth Andy!!!            01/01/70 00:00      
RE: What is debouncing            01/01/70 00:00      
RE: What is debouncing            01/01/70 00:00      
RE: What is debouncing            01/01/70 00:00      

Back to Subject List