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?
yeah, I've got CMCON0=%00000001 set at the top of the code.
Thanks
Bookmarks