OWI robotic Arm and the Adafruit Motor shield

hello im trying to move my OWI robotic arm with the Adafruit Motor shield . i’m trying to understand the code in the example but i don’t seem to find a way to just move 1 motor for a sec or 2. anyone have any idea??? any help would be great.

oh here is a copy of the code.

// Adafruit Motor shield library
// copyright Adafruit Industries LLC, 2009
// this code is public domain, enjoy!

#include <AFMotor.h>

AF_DCMotor motor(4);

void setup() {
Serial.begin(9600); // set up Serial library at 9600 bps
Serial.println(“Motor test!”);

// turn on motor
motor.setSpeed(200);

motor.run(RELEASE);
}

void loop() {
uint8_t i;

Serial.print(“tick”);

motor.run(FORWARD);
for (i=0; i<255; i++) {
motor.setSpeed(i);
delay(10);
}

for (i=255; i!=0; i–) {
motor.setSpeed(i);
delay(10);
}

Serial.print(“tock”);

motor.run(BACKWARD);
for (i=0; i<255; i++) {
motor.setSpeed(i);
delay(10);
}

for (i=255; i!=0; i–) {
motor.setSpeed(i);
delay(10);
}

Serial.print(“tech”);
motor.run(RELEASE);
delay(1000);
}

What happens when you run this code? How does that differ from what you want to have happen?