On Tuesday, Mar 30, 2004, at 11:41 US/Pacific, al smith wrote: > banksel ADCON1 > movlw b'10000100' > movwf ADCON1 > > This sets up the port, and looking at the value in the watch window > confirms thats it > > However, when I go to write out to PORTA, it 'refuses' to set the bit. When I had a similar problem on a PIC12F675, it turned out that it was the COMPARATOR module that "owned" the pin by default... BillW -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body