Hi all! As you can see I am a new member here and even greener in the world of MCUs. So far I have been able to successfully accomplish small feets in programming such as interfacing a serial LCD, blinking an LED, etc. However I am having trouble getting a button to work. What I am trying to do is get a button input on PortA.2 to turn on an LED connected to PortA.1. I can turn the LED on and off I just cant get the button input to work. Not sure if I have the pin configured incorrectly but any help would be greatly appreciated!!!
Bookmarks