The pin you have your switch on is by default an analog comparator input on
power up. Do you have CMCON0.3=0 in your program somewhere, and just
forgot to show it in your example?
The pin you have your switch on is by default an analog comparator input on
power up. Do you have CMCON0.3=0 in your program somewhere, and just
forgot to show it in your example?
Bookmarks