Hi,
The two servos are mechanically separate from each other;
The LDR is mounted on Servo1 arm.
So Servo1 mechanically sweeps the LDR.
You monitor the LDR output and log the highest light output and at what servo position it is at.
Then you sweep Servo2 to that position.
All the time Servo1 keeps sweeping and updating the Servo2 position.
Basically a Target and Aim system.
Have you looked at the Servo sweep example in the IDE?
Tom... ![]()