Datasheet

Shield, Lights, Servo Motors • Chapter 2
Robotics with the BOE Shield-Bot 75
servoRight.attach(12); // Attach right signal to pin 12
servoLeft.writeMicroseconds(1700); // Pin 13 counterclockwise
servoRight.writeMicroseconds(1300); // Pin 12 clockwise
delay(3000); // ..for 3 seconds
servoLeft.detach(); // Stop servo signal to pin 13
servoRight.detach(); // Stop servo signal to pin 12
}
void loop() // Main loop auto-repeats
{ // Empty, nothing needs repeating
}
2. Solution is the sketch ForwardLeftRightBackward, from a later chapter.