Sikter:
johnwasser:
How long do you expect the travel to take from 0 to 90 degrees?2 or 3 sec
In order to slow the servo down that much you will need to move it in small increments an insert delays. That should give you an opportunity to blink the LED. At 30 to 45 degrees per second a good blink rate might be every 10 degrees:
for (int angle = 0; angle <= 90; angle++)
{
MyServo.write(angle);
digitalWrite(LEDPin, (angle/10) % 2);
delay(25); //delay 1/40th of a second
}