sun tracking for arduino
===== Setup: Required Hardware:
- 2 Photo Resistors
- 1 servo
- Atmega compatable microprocessor
Ports:
- Make sure your inputs and outputs are alligned with inputs and outputs in the code.
Make sure these are correct:
//int lightPin0 = 0; //define a pin for Photo resistor left
//int lightPin1 = 1; //define a pin for Photo resistor right
//int servoPin = 9;
Have Fun!