please help me make my project

help me make my project!!
I have an Atmega328 connected to a breadboard
WHat i need is a program for COntinuous Rotation on servo Ports 5 , 6 ,9 ,10 ,11
I want it to make an angle 180 degrees , wait for a second and come back
I have done the Hardware Part
I need help with the programming part
PLease Help!!

You have continuous rotation servos? Well for a start, continuous rotation servos can't be controlled by degrees.

NO! not continuous Rotation Servos
see what I made is A robo hand
But i need a program so that the fingers go back and forth

sagnik1503:
NO! not continuous Rotation Servos

You confused me by saying this:

a program for COntinuous Rotation

Have you looked at the servo sweep example.