Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

C166: Key de-bouncing in 4x4 matrix keypad (5 Replies)

$
0
0
I'm using 4 x 4 keypad to send the output to 2 7-segment LED. problem: key de bouncing problem Summary problem: when I press key, it shows both digit on the left and right. For example, if I first press 1, it should show 1 on the right and blank on the left. If I press 3 next, it should show 1 on the left and 3 on the right. Right now, it I press 1 it shows 1 on the left and 1 on the right. I think this relate to key debouncing. Please check my code. void read(void) {

Viewing all articles
Browse latest Browse all 3049

Trending Articles