This is really helping me for my project. Thanks all for the help.
Yansong
-----Original Message-----
From: David Huisman <david.huisman
KILLspamADVMININGTECH.COM.AU>
To: .....PICLISTKILLspam
.....MITVMA.MIT.EDU <EraseMEPICLISTspam_OUT
TakeThisOuTMITVMA.MIT.EDU>
Date: Thursday, November 23, 2000 8:39 PM
Subject: Re: [PIC]: keypress
>Yansong,
>
>It would suggest it may be better to write the software such that it is
>independent of time key is pressed. ie. act on keypress but don't respond
to
{Quote hidden}>further key presses until original key is released.
>
>You also normally debounce the key with a small delay (30-50ms maybe).
>
>ie. If keypress detected wait 30ms
> if key still being pressed, act
> wait till key released
> small delay
>
>Regards
>
>David Huisman
>
>--
>
http://www.piclist.com hint: PICList Posts must start with ONE topic:
>[PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads
>
>
>
--
http://www.piclist.com hint: The list server can filter out subtopics
(like ads or off topics) for you. See http://www.piclist.com/#topics