> At the moment I am initiating a conversion by hitting a button on the PC > and then looking at the result. The problem only occurs when I set the > 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 > R > Mark > > > 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 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body