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