Introduction
After learning the basic LED blink project, the next step for beginners is using a push button to control an LED. This project is important because it introduces digital input (button) and digital output (LED) — the foundation of interactive electronics.
In this tutorial, we’ll guide you step by step on how to connect a push button with Arduino using a 1kΩ resistor, write the program, and make the LED turn ON when the button is pressed.