Programming: Toggle Two LEDs when Push Button is Pressed for AVR
Share
Making a program for the Atmel AVR microcontroller to toggle two LEDs when a push button switch is pressed. When the push button is pressed and released, one LED is on, and when the push button is pressed and released again, the on LED is turned off and the other LED is turned on.