This is the guts of what will become a "bread buttering" machine. Kind of my dumb pet trick for Physical Computing class.
This combines a photosensor which is calibrated during the first 2 seconds of the program start. The sensor then controls the servo motor, and when it is dark the LED comes on and the servo turns back and forth. When it is bright, the LED should go off and the servo do nothing.
Loading more stuff…
Hmm…it looks like things are taking a while to load. Try again?