On 09/07/2010 14:25, Ravi wrote: > > I am checking on an oscilloscope. That's why i am able to see the > voltage at 1V. > > If I increase the delay to about 1mS, then the voltage reaches 0. > > I had used this code as is in other PICmicro. > > Cheers > > Ravi > I use 4k7... But it sounds like there is a capacitor. Is there a short or mis wiring of a 100nF decoupling cap? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist