Buton Kodu Arduino

Kodu

Buton Kodu Arduino. Plug the push button in the middle of the breadboard like on the picture. Furthermore we declared a constant variable for the led and attached it to pin 10.

Arduino 3 Led And One Push Button Arduino Projects Arduino Led Arduino
Arduino 3 Led And One Push Button Arduino Projects Arduino Led Arduino

Here one switch press increments the value whereas the seconds switch decrements the value. It read digital output 0 or 1 from the switch and store the value. Press and keep pressing the button several seconds.

Connect one side of the 10k resistor from the ground rail on the breadboard to the other side to the pushbutton on the same side that pin 2 connects.

Open the arduino ide. The detail instruction code wiring diagram video tutorial line by line code explanation are provided to help you quickly get started with arduino. Plug the arduino board into your computer with a usb cable. Plug the arduino board into your computer with a usb cable.