In this experiment, we need to control led on or off using a button. in arduino, the program determine whether led on or not according to the button status.
To complete this experiment, you need a arduino board, a led, a button.
attach led to arduino port D13, attach button to arduino port D5.
now, you can control led by the button.
6,195 total views, 1 views today