DC motor library for Megamoto control shield?

Hello,

I just ordered a Megamoto motor control shield specifically for Arduino, but my question is,
do I need a specific library to control DC motors or how do I start the program?
I just need to set up the speed of the motor and make the order of when to start and when to stop.

Any suggestions?
I am just finding libraries for stepper and servo motors =/

I need to know it for my final project that is due in 2 weeks =/ All the help is greatly appreciated.

Thank you in advance.

I just ordered a Megamoto motor control shield specifically for Arduino

but didn't post a link.

do I need a specific library to control DC motors

No.

how do I start the program?

void setup()
{
   // Put some stuff here
}

void loop()
{
   // Put more stuff here
}

I need to know it for my final project that is due in 2 weeks...Any suggestions?

Start earlier, next time. Plan on a lousy grade this time.

the link is:
http://www.robotpower.com/products/MegaMoto_info.html

I have been working on my project for a long time by now, this is the only thing that is missing,
I just need to know how to make a code that makes the DC motor go to a certain velocity, that is it.
This is my first time ever using Arduino, motors and control shields, no one has taught me how to do it, and I am trying to learn by my self.

Thanks.

There are jumpers on the shield that control which PWM pins are used to control the speed of the motors. Pick a position, and use analogWrite() to write a value to the appropriate pin.

If you put the motor A jumper in the D6 position, you can run the motor at half speed using:

analogWrite(6, 127);

Use a larger value to go faster (up to 255), and a smaller value to go slower.

Thank you very much.