Ldr sensor, circuit operated for 1 min when illuminated with Servo motor with Arduino , what code should i write for this
thank you.
Try a forum search (top right of this page) for "servo LDR". Lots of people have done it before.
Steve
What do you mean by "illuminated with Servo motor" and what circuit is supposed to be operated?
I suggest you write a short program to learn how to use the LDR and just display the results on the Serial Monitor.
Then another (separate) short program to learn how to control the servo.
As you have not yet told us what the circuit is I can't make any suggestions about that.
As far as the timing is concerned have a look at how millis() is used to manage timing in Several Things at a Time.
And see Using millis() for timing. A beginners guide if you need more explanation.
...R