I think tha this is nothing but the old RMW problem. In your case manifested due to the lack of init of the analog funktions. Which was pointed out and you did not respond to. Those writing the web page you linked to clearly doesn't understand this either. A blind leads a blind... :-) Jan-Erik. yamanoor sairam wrote 2012-02-10 06:38: > I got it working. I found this link below: > > http://eng.waikato.ac.nz/research/scott/BugReport-PIC12F675.html > > > 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. > Sent: Thursday, February 9, 2012 11:39 PM > Subject: Re: [PIC] 12F675 question > > 100uF<> 100nF! > > On Thu, Feb 9, 2012 at 9:34 PM, yamanoor sairam w= rote: >> Hello All, >> >> Thanks for all the quick and useful replies. I do have a 100uF filter ca= pacitor and it is really close to the microcontroller. I hope that is suffi= cient. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .