- Light Dependant Resistor- Senses light and creates electrical readout.
-Arduino can output 5v MAXIMUM
Serial Communications control the way the arduino communicates with the computer. Serial is a built in method so it's capitalized and has a ". appendage"
- Arduino measures current read
- Arduino compares reading value to value of voltage output
- Arduino sets a voltage to the LED that matches the scale of reading
map(var, min, max, minB, maxB);
Photocell code is on the Arduino website