AUTONOMOUS ROBOT

i want to make light loving and light hating autonomous robot by using 2 photoresistors and 2 continuous rotation servos . can we write program with analog input for photoresistors and digital output for servos using map function or any other function.
thanks

Seems like you are not getting anywhere with your project? Have you tried to read what others have been writing, and what people have built already? The answer to your question is problably:
"Yes, you can".

You ask the same questions all over again, what you you done so far? Any circuits ready? And code written?

Cheers,
Kari