>When I do an A/D conversion I get funny results. If I use right justified, >ADFM = 1 and try and read 5V... I get something like (011-1000111). You mention that the left justified results are screwy. Well, the right justified result doesn't seem right, either. Looks like something's wrong with your input source or your Vref. Are you using a really high impedance or capacitance for your input source? Is your Vref (Vdd) stable? Is it the right value? Also, try using ADCON1 values of 0x09 or 0x00 instead of 0x02. They should be functionally the same, but try them just in case. (or 0x80 and 0x89 for right justified) I also assume that you're switching to the proper banks to read ADRESH and ADRESL? I've never had a problem using the A/D on the 16F87x series chips. --Andrew _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body