To answer my own question I should read the PDF better. MOVLW 0x7F ; Configure A/D MOVWF ADCON1 ; for digital inputs MOVLW 0x70 ; Set RB0, RB1, RB4 as MOVWF ADCON1 ; digital I/O pins I took them both as 0x07 Opps Tim -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Timothy Box Sent: Saturday, March 29, 2003 4:37 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: PIC18F1320 How to set up Porta Hi All I have just started playing with a PIC18F1320 but as yet have failed to get porta configured properly. I can address portb no trouble. But Porta is remaining elusive. I have set ADCON1 to 7 as indicated but still no life. Even in the SIM it is the same. Does any body know the magic var to set to turn on PORTA? Thanks Tim -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics