Source for the code and wiring diagram is:
Rick_Fundus https://www.hackster.io/Rick_Findus/arduino-sunflower-c4fd84
Â
Â
Â
The photo-resistors react to the the bright light and power the servo-motor, turning it clockwise or counter-clockwise depending on which resistor is exposed to more light.
Â