> No, just the standard "PICkit2 Starter Kit" : > http://www.microchip.com/pickit2/ >=20 > The 28-pin demo board in that kit : > http://ww1.microchip.com/downloads/en/DeviceDoc/41301A.pdf > Scematic at page 9, the pot at the top of fig A-1. >=20 > It's the voltage drop over R7 that is my concern. >=20 >=20 > Jan-Erik. Well, I suspect we are at a point where something in your code is setting RA0 to an output and setting it low, i.e. writing 0 to both TRISA and PORTA. AIUI having a port bit set to analogue doesn't stop it being used as a digital output port. This is used to advantage in some sneaky schemes for doing things like making capacitance meters, by discharging the cap and then using the A/D or comparator to measure the time it takes to get to a certain voltage. --=20 Scanned by iCritical. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .