I got it working. I found this link below: http://eng.waikato.ac.nz/research/scott/BugReport-PIC12F675.html=A0 I am supposed to do byte level operations instead of bit level. GPIO & (1<<= 3) helped me. Thanks for all the help. Sai ________________________________ From: David VanHorn To: Microcontroller discussion list - Public. =20 Sent: Thursday, February 9, 2012 11:39 PM Subject: Re: [PIC] 12F675 question =20 100uF <> 100nF! On Thu, Feb 9, 2012 at 9:34 PM, yamanoor sairam wro= te: > Hello All, > > Thanks for all the quick and useful replies. I do have a 100uF filter cap= acitor and it is really close to the microcontroller. I hope that is suffic= ient. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .