circuit 1
simple circuit with a LED with a 1 second delay (for on and off)
same circuit just with a alot less delay. This makes the blink almost impossible to see.
delay(15); // Wait for 15 milliseconds
digitalWrite(13, LOW); // Turn off the LED
delay(15); // Wait for 15 milliseconds
circuit 2
A potentiometer, or "pot" for short, is a control knob.
It's the same type of control you'd use to change volume,
dim a lamp, etc. A potentiometer changes resistance as it
is turned. By using it as a "voltage divider", the Arduino
can sense the position of the knob, and use that value to
control whatever you wish.
(The blue nob is the potentiometer)
circuit 3
the light slowly changes between red, blue, green, and purple.
circuit 4
circuit 5
circuit 6