On Fri, Jun 18, 2004 at 01:31:24PM -0700, dimov stefan wrote: > 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? I bet there's a typo, and you're using ADRESH twice instead of ADRESH:ADRESL. Those numbers in hex are 0x0000, 0x0101, 0x0202, and 0x0303, which look rather suspicious. Chris -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body