Çäðàâñòâóéòå, 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 -- Valerij
Message
Re: [AVR-Chat] Re: Keyboard delay
2005-02-20 by Valerij Avrealij
Attachments
- No local attachments were found for this message.