> > I have got a very strange RA3 pin. It is being used as an output Often a problem like this turns out to be a damaged pin. Do you have another 18F1320 to check against ? That it does this when you take RB0 low seems odd - is there something amiss with the PICDem4 ? -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist