Wouter wrote: >Disable the A/D functions on port A or it won't be useable as input. OK - that's done by initialising CMCON to 07H, isn't it? At least, that seems to work for me! Thanks. -- Ian Chapman -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body