Sairam. Congratulations on having got this far with your project. While there are many things that MAY be causing your problems, and while we MAY be able to suggest ones which are most likely, it would be far better if you could provide a circuit diagram and also a description of any aspects of the circuit which may not be shown well on the diagram. For example the nature of the probe will affect the result (and may be what is causing the problem) so knowing about it i suitable detail will be useful. The more useful detail that you can provide the more quickly and easily we are liable to be able to help you. regards Russell McMahon -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist