Place ANSEL = 0 in the top section to disable A/D.
Analog pins always read as 0, and the HIGH/LOW commands cause the whole port to be read, bits flipped, and the whole value being placed back on the port, so previous pins always get returned to 0.
Place ANSEL = 0 in the top section to disable A/D.
Analog pins always read as 0, and the HIGH/LOW commands cause the whole port to be read, bits flipped, and the whole value being placed back on the port, so previous pins always get returned to 0.
Bookmarks