// Rotating a continuous servo (tested with a SpringRC SM-S4306R) #include Servo myservo; // create servo object to control a servo //savox digital sc-1258tg servo modified for continious rotation. //clockwise HIGH(25)LOW(98). //counterclockwise HIGH(155) LOW(100). // STOP(0) void setup() { myservo.attach(6); // attaches the servo on pin 9 to the servo object } void loop() { myservo.write(25); // rotate clockwise full speed delay(2000); myservo.write(0); // stop delay(3000); myservo.write(155); // rotate counterclockwise full speed delay(2000); myservo.write(0); // stop delay(3000); myservo.write(98); // rotate very slowly clockwise delay(5000); myservo.write(0); // stop delay(3000); myservo.write(100); // rotate very slowly counterclockwise delay(5000); myservo.write(0); // stop delay(3000); }