my servo motor keep rotarying

Hi,

i am working on the Lesson4 Obstacle Avoidance Car project now.

i downloaded Servo_Debug and uploaded it into my UNO.
But the servo motor is still keep rotarying.

#include <Servo.h>
Servo myservo;

void setup(){
myservo.attach(1);
myservo.write(90);// move servos to center position -> 90°
}
void loop(){

}

Please help!

Sam

If you servo keeps turning (is that what you mean?) with that code then you have a continuous rotation servo and NOT a standard servo. Please post a link to the servo you are using.

Steve