Quote Originally Posted by Darrel Taylor View Post
PORTA ... well, you have ...

ADCON1 = $0F

For a 16F877A it should be ...

ADCON1 = 7

Unless you want some analog channels.
<br>
I tried that well, ADCON1 = $0F but that didn't work... but then I'm currently using an 16f877a