Stefan_d6, Are you using all 10 bits? and do tou have the result left justified or right justified? If you are using all 10 bits and have it right justified, and are using the ms BYTE, the values displayed would be 0, 256, 512, 768. And your numbers are very close to these. The reason is you're only displaying the two most significant bits. Check your A/D setup and try displaying the LS byte only. It should go smoothly between 0 and 255. Once you get this part working, then you can deal with the two MS bits. Hope this helps. Regards, Jim > I've tried to measure DC and display the corresponding > number from the ADC on a LCD .I used pic16F877. For > initiation of the ADC I used AN546. > But when I'm changing the voltage gradually from 0V > to 5V the LCD shows only four values respectivly : 0, > 257, 514, 771. > Where is the culprit? > > > > __________________________________ > Do you Yahoo!? > Yahoo! Mail Address AutoComplete - You start. We finish. > http://promotions.yahoo.com/new_mail > > -- > 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