Hi all.
I'm having some programming trouble with a circuit I'm working with. I have an LED and two buttons, and my desired output for this is to have the LED become lit (obtain a HIGH state) when Button 1 is pressed, and have the LED turn off (obtain a LOW state) when Button 2 is pressed.
I'm a little unsure of how to best structure my syntax and which loop/loop conditions are necessary in order to obtain the desired result from above.
Thank you!