The light blinks every fifty milliseconds.
When the potentiometer is turned it changes the amount of light that is produced.
The potentiometer works by restricting the current that flows through it depending on where you turn the dial. If you turn it all the way up the light will be the brightest it can be since more current is allowed to pass through. If you turn it all the way down there will be no light produced because there is no current going through. Finally if it is in the middle there will be an average amount of light since there is an average amount of current.
This code allows the light to change colors. This is depicted in the video.
The first section of code runs the program so that the light bounces back and forth.
The second code runs the program so that two lights are on and chasing one another.
This code is programed to run so that every time a button is pushed the lights turn on. If both buttons are pushed at the same time the lights stay off.
The first code allows the light to always be on but get brighter when exposed to shade.
The second code allows the light to stay off until there is shade or darkness.
This code allows a light to turn on after the temperature by the temperature sensor reaches eighty degrees.
This code allows a motor to spin in different directions at different speeds to make a repeating pattern.
This code allows the circuit to display the Super Mario's Theme song.
This code allows a higher power motor to spin at different speeds in a repeated pattern.
This allows the light to turn on and off when the box is wiggled.
The first set of code allows the lights to go in one direction on both sides.
The second set of code allows the light to bounce back and forth.