Thanks for the link.
Is there not just a short command that I can place into the code that will change all of PortA pins to digital input? I have been able to get the button to work on PortB so I am sure my code is right, is just doesnt work on PortA.
Sorry for the newb questions!
Would this work?
Code:CMCON = 7 ADCON1 = 7
Bookmarks