At 01:25 PM 4/16/02 -0500, PICLIST@MITVMA.MIT.EDU wrote: > Also when I plug the wire of the ADC >in the resistor ladder, the DMM drops from 3.5V to >135millivolts. >Could someone enlighten me as to what I am doing wrong. >I have seen this simple circuit on a number of chargers. What you have described sounds like the a/d pin is set as an output and is LO. Check your trisa register and make sure the appropriate a/d pins are set as inputs (1). dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 18 years of Engineering Innovation (1984 - 2002) .-. .-. .-. .-. .-. .-. .-. .-. .-. .- `-' `-' `-' `-' `-' `-' `-' `-' `-' Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu