Then it must be 1).

Put this line at the top of your program.

ADCON1 = $F ; set all pins to digital
<br>