Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: [AVR-Chat] Re: Keyboard delay

Re: [AVR-Chat] Re: Keyboard delay

2005-02-21 by Don Ingram

WRT Keyboard Bounce:

If you use an interrupt driven ( timer )  kbd scanner
then you can
just look at successive scan cycles and if you see 3
cycles ( for
example ) in a row which return the same value then
you output a valid
key value.

A benefit of doing things this way is that there is a
deterministic
amount of time to be scheduled to scanning the
keyboard. In our case
the interrupt is also used to change the current LED
which is being
displayed on a multiplexed display panel.  This
predictability allows
me to budget for the other work to be completed & have
a bit of an
idea as to what is possible.

Cheers

Don

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.