The original code without changes
Blinking once per second and holding for .15 of a second.
Circuit 2: Potentiometer
As you turn the potentiometer it makes the led flash faster or slower.
A potentiometer works by having a metal wiper move along a track between a wiper terminal and a output terminal. Increasing and decreasing resistance as it moves.
Circuit 3: RGB LED
When showspecturm is by itself it makes it where the light never stops
Circuit with no code changes.
To get show(spectrum) only you have to turn the mainColors into a note so it does not do anything anymore. It causes the light to never turn off
Circuit 4: Multiple LEDs
OnAfterAnotherNoLoop makes it where it makes the LEDs go one after another and come back
randomLED make it where a random led comes on and there is no special pattern to when the LEDs turn on
Circuit 5: Push Buttons
When you push the button it gives power to the LED to light up
Circuit 6: Photo Resistor
Manual tune makes it where you have to switch the range of brightness to see when it turns on or off
Autotune makes it where the arduino board sets the range for you and you dont have to do anything special in the code yourself
The pros of autotune are that you dont have to switch the range ever
The cons of autotune are that it is very reactive and it switches to everything
At first this circuit was just the temperature sensor but it was then coded to work with an LED for when it got to a certain temerature the light would turn on.
Circuit 8: A Single Servo
Servo before any code changes
Servo after changing delay to 0. It causes the servo to keep spinning forever without stopping.
Circuit 9: Buzzer
This is playing Never gonna give you up.
Circuit 10: Spinning a Motor
Motor Acceleration is turned on in this code
Circuit 11: Relays
This Circuit has a light bouncing back and forth between 2 LEDs
Circuit 12: Shift Register
Ping pong function shown
RandomLED Fuction showed