Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: Keyboard delay

2005-02-20 by Kathy Quinlan

Valerij Avrealij wrote:

> Çäðàâñòâóéòå, brewski922.
> 
> Âû ïèñàëè 20 ôåâðàëÿ 2005 ã., 19:20:56:
> 
> 
> 
> 
>>--- In AVR-Chat@yahoogroups.com, Valerij Avrealij <avrealij@m...> 
>>wrote:
>>
>>>Hello 2AVR-Chat members.
>>>
>>>I have interrupt based keyboard inquiry. How much time I need wait
>>>after interrupt occurs and keyboard inquiry?
>>>Thanks.
>>>
>>>--
>>> Valerij Avrealij
> 
> 
> 
>>Anyway, for your case if you feel you are having problems with 
>>contact bounce or something else and feel a time-delay is need go 
>>ahead a insert a delay. Start with something big that WILL correct 
>>the problem, say a 0.001 or may be 0.01 or even 0.1 and see what 
>>happens. When the problem is corrected say between 0.001 and 0.01, 
>>split the difference and try 0.05. If that worked split the 
>>difference again. You will eventually get to a point where one delay
>>works and just a bit faster fails. Using the number that works 
>>increase the delay a little, I usually use 10% slower. This gives you
>>a little insurance.
> 
> 
>>Mike
> 
> 
> You mean 0.01 sec or 0.01 mS or 0.01uS delay?
> Thanks
> 
I would say mike is talking about whole seconds, as most bounce is over 
in 100ms or less, depending on the switch (some like power switches can 
be worse than others (like PCB mount reset switchies (the ones on the 
STK500 etc))

Regards,

Kat.

-- 
---------------------------------------------------------------
K.A.Q. Electronics	Website: www.kaqelectronics.dyndns.org
IM: Yahoo: PinkyDwaggy  MSN: katinka@kaqelectronics.dyndns.org
For Everything Electronics     Phone: 0419 923 731
---------------------------------------------------------------	


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 18/02/2005

Attachments

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.