motorShield v3

I have a Motor Control Shield V3 but I don't have information about motors, encoders and stepper motor connections.

I have this shield: http://blushingboy.net/p/motorShieldV3/

Not this one: http://www.ladyada.net/make/mshield/use.html

I need also some example programs. Anyone have it?

I found this code, but don't work.

// Motor Shield test
// by NKC Electronics
// Test Motor B

int dirbpin = 12; // Direction pin for motor B is Digital 12
int speedbpin = 9; // Speed pin for motor B is Digital 9 (PWM)
int speed = 200;
int dir = 0;

void setup()
{
pinMode(dirbpin, OUTPUT);
}

void loop()
{
digitalWrite(dirbpin, dir); // set direction
analogWrite(speedbpin, speed); // set speed (PWM)
dir = ((dir == 0) ? 1 : 0); // change direction
delay(10000); // 10 seconds
}

from: http://mcukits.com/?p=15

This one works very well. Thanks David.

int dirA = 12;
int dirB = 13;
int speedA = 10;
int speedB = 11;

void setup()
{
 pinMode (dirA, OUTPUT);
 pinMode (dirB, OUTPUT);
 pinMode (speedA, OUTPUT);
 pinMode (speedB, OUTPUT);
}

void loop()
{
 // move the motor A to one direction increasing speed
 digitalWrite (dirA, HIGH);
 for (int j = 0; j < 255; j += 10) {
    analogWrite (speedA, j);
    delay (100);
 }

 delay(1000); // keep the motor rolling for one second

 // move the motor A to one direction decreasing speed
 digitalWrite (dirA, HIGH);
 for (int j = 255; j >= 0; j -= 10) {
    analogWrite (speedA, j);
    delay (100);
 }

 // stop the motor
 digitalWrite(speedA, LOW);

 delay(1000); // keep the motor stopped for one second

}