Arduino Uno has a built in ‘pull up’ resistor integrated into its circuit. We can use this resistor by using INPUT_PULL as the mode argument
Category: Arduino & Electronics
Connecting a switch to Arduino
This sketch is just a switch connected to Arduino Uno, the voltage is 3.3v, the LED act like a resistor (else the circuit will be
Traffic Lights using Ardino
This project is using Arduino to blink red, yellow and green LEDs. The timing is control by the delay function in the code below. ‘delay(1000)’