ADCom????
You found some secret register in this PIC that Microchip's not told us about?
As is usual with PIC's that have Comparators, you need to switch them OFF and turn those ports Digital... see Datasheet section 10.0...
CMCON=7
esp figure 10.1 on Page 62.
Thereafter, don't forget TRISA=%00000011 too...
Melanie




Bookmarks