On Thu, 29 Jul 2010 17:54:14 +0200, "Jan-Erik Soderholm" < > Now, when running the ADC-demo program (number 4 of the > lessons, called ADC.ASM), I can see a larger then I > expected voltage drop across the 1 k resistor. Up to > 0.85 V when the pot is at the 5V end. That is, there > must go aprox 0.85 mA into the RA0/AN0 pin. Perhaps the PIC is not being powered properly. What is the power supply to the PIC at that moment? Cheers, Bob --=20 http://www.fastmail.fm - Access your email from home and the web --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .