Also, RA0:2 still work fine without being configured for digital. Could this be something to do with RA3 being the +5V reference for analog? Also, that doesn't explain why it works when RB0 is low. On 5/21/05, Dave Turner wrote: > isn't alalog only for input? If it's set to output, how can it be analog? > > On 5/21/05, Andre Abelian wrote: > > Dave, > > > > You need to make RA3 digital I/O the default is set to analog > > > > Andre Abelian > > > > > > > > > > > > > > -----Original Message----- > > Subject: [PIC] Very strange RA3 pin > > > > Hey > > > > I have got a very strange RA3 pin. It is being used as an output, > > with an LED connected. I am using a PIC18F1320. For some reason, the > > LED on RA3 always stays off, but, and this is the strange part, when I > > press the active low switch on RB0, the LED works normally. I have > > checked nothing in my code is referencing porta,3, and the hardware is > > fine. BTW, I'm using the PICDem 4 board, and a MPLAB ICD2 as a > > programmer. > > > > -- > > > > All us base are belong to you. > > > > -- > > http://www.piclist.com PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > > -- > > http://www.piclist.com PIC/SX FAQ & list archive > > View/change your membership options at > > http://mailman.mit.edu/mailman/listinfo/piclist > > > > > -- > -- > > All us base are belong to you. > -- -- All us base are belong to you. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist