Thanks to all for help. Specially Mr. Scott Dattalo whose amazing code I,ve started using. Take some time to fully understand it. Thanks a lot Biswanath Dutta ----- Original Message ----- From: Scott Dattalo To: Sent: Wednesday, February 26, 2003 8:05 PM Subject: Re: [PIC]: Debounce Circuit > On Wed, 26 Feb 2003, Spehro Pefhany wrote: > > > At 07:11 PM 2/26/2003 +0530, you wrote: > > >Pull-up Resistance at PIC pin. Pushbutton to Gnd. Capacitor across > > >Pushbutton will give effective debounce ? > > > > Why don't you do it in software? It's not a big challenge or anything. > > Especially since the code is already written: > > http://www.dattalo.com/technical/software/pic/debounce.html > > > > > >If anybody has used this method please confirm. Is there any pitfall ? > > > > It mucks up the contacts (capacitor discharge welder), and it > > doesn't work. Other than that it's fine. > > If there's a resistor between the contact and capacitor, then "welding" is > not an issue. Butt steal, I agree, other than that it's fine. > > Scott > > -- > 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: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads