Quote Originally Posted by malc-c View Post
Well must be something with the configuration of port A.
PORTA ... well, you have ...

ADCON1 = $0F

For a 16F877A it should be ...

ADCON1 = 7

Unless you want some analog channels.
<br>