Positive wire is plugged into 5V output on the Arduino. Negative wire is plugged into the ground terminal on the Arduino. The switch turns the LED on or off and the Arduino acts only as a power supply. Resistor value is 220 ohms.
top of page
bottom of page
Comments