The data sheet on page 185 indicates that the internal reference is Vdd and Vss, but youv'e given me an idea: I use ICSP on the circuit which means that Vdd comes via a resistor (100ohm). Tonight I will check if maybe the voltage drop across it is too great thus giving 3.5 volts as Vdd Mark > A2D to use its internal Vref. If I set it to use an external Vref and > supply 5V and Gnd to the respective pins, I get the correct result. > I could be totally missing the point here, but looking at the data sheet I think the internal reference in only 3v ? So inputs greater than this give f.s.d. (0x3f) I think. (Flame suit on) ;-) Peter email listserv@mitvma.mit.edu with SET PICList DIGEST in the body NOTE: This e-mail message is subject to the MTN Group disclaimer see http:/= /www.mtn.co.za/email_disclaimer.asp -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body