A pushbutton-controlled LED toggle for Arduino UNO. Each button press flips the LED state (ON/OFF) using rising-edge detection, with serial logging for debugging and a simple delay-based debounce.
This project uses a push button to toggle an LED ON and OFF with each button press. Instead of requiring the button to be held down, the LED changes state only when a new button press is detected. The ...