Thanks for the replies

Quote Originally Posted by peterdeco1 View Post
Try ADCON1 = 15 to set to all digital. It looks like portb.0 is an analog pin.
Tried that last night - with and with out the TRISB statement also
also tried a different pin (D0)
No luck.

I have another chip (min order qty 2) so I'll try that tonight. I assumed if it programmed OK it wasn't dead...