i used the servo library and it works fine!
i tried to analyse the code in wich was written i didnt get it!!!
so i need a sample code for driving a servo ??
something wich i could understand easily using for loops and delays only !.
R/C servos generally use a positive pulse between 1ms and 2ms wide (0..approx 180 degrees), repeated every 20ms.
If you express these times as 1000us, 2000us and 20000us, you should be able to write a simple "loop ()" using "delayMicroseconds", "digitalWrite" and a couple of variables to set the position of a servo on any single pin.
Don't forget to set the pin as an output in "setup ()".