Arduino servo motor with photo resistor

I spent a lot of time searching on Arduino and found something that might work. only but I haven’t found anyone who explains how to directly wire and program an Atmega 328P to control a servo motor with an LDR photoresist. All I could find this done with the UNO R3 development board.
If any geniuses can help me.
This is what I would like to achieve, see this video

Thanks in advance

Dimitri

The software for the UNO should work fine on the pro mini if you wire the servo to the same pins as used on the UNO.

Peter

Thank you for your response Peter.
Would it be possible on Arduino to imagine two servos and an LDR photoresistor and activate servo no. 1 and at a later time activate servo no. 2 ? and where to find the coding for this?

Dimitri

It is certainly possible. You would likely have to write the code to do it though as I doubt there is code to do exactly this. The Arduino forums are probably the place to get advice on coding (rather than here.)

Peter