Push Button Mode Pin 2 Input dengan pull-up internal Push Button Brightness Pin 3 Input dengan pull-up internal Mode 0 LED Merah Hanya LED merah yang menyala Mode 1 LED Hijau Hanya LED hijau yang ...
This project demonstrates how to control an LED using a push button with an Arduino board. When the button is pressed, the LED toggles on and off. This simple circuit can be a great starting point for ...
There is an example of a programme that differentiates between long and short push-button pushes on the Arduino.cc website, but I was not taken it. However their was an example I did like the look of, ...