See note 3 under A/D Acquisition Requirements on the 16F877 datasheet. QUOTE: "The maximum recommended impedance for analog sources is 10K This is required to meet the pin leak-age specification." This may have something to do with it. Pin leakage? Maybe that's what = you are seeing. Pete > Using the F877, I have PortA configured for analog inputs,=20 > and had 10K pots. > I've changed the pots to 50K now -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads