millis() and micros() instead of delay.

Servo motor is not spinning.

I see that you are not using the Servo library. What type of servo do you have ?