ADCON1=7 has no affect on the 887's analog pins.
And for PORTB to be digital, you need to disable the analog functions on those pins.
16F887 Datasheet
http://ww1.microchip.com/downloads/e...Doc/41291E.pdf
Look for ANSELH.
<br>
ADCON1=7 has no affect on the 887's analog pins.
And for PORTB to be digital, you need to disable the analog functions on those pins.
16F887 Datasheet
http://ww1.microchip.com/downloads/e...Doc/41291E.pdf
Look for ANSELH.
<br>
DT
Bookmarks