Hi all, I have a circuit that I want to use with a pic16f877a. Two 5K potentiometers are connected to the pins AN0 and AN1. The program that I am using reads each pin and shows the value of each pin in an LCD. What I can see is a little variation after the value is readed, usually the potentiometer stills in the same position most time. But, the LCD shows me values one to two up or one to two down from the center value readed. It is possible to change something to get a more stable readout? Maybe I have to use a more precise potentiometer? Any idea is welcome Best regards, Augusto -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist