Dans le pdf que tu peux télécharger sur le lien que tu as donné (onglet lien utiles), il y a ça :
#include <AFMotor.h>
AF_DCMotor motor(2, MOTOR12_64KHZ);
// create motor #2, 64KHz pwm
void setup() {
Serial.begin(9600); //
set up Serial library at 9600 bps
Serial.println("Motor test!");
motor.setSpeed(200); // set
the speed to 200/255
}
void loop() {
Serial.print("tick");
motor.run(FORWARD); // turn
it on going forward
delay(1000);
Serial.print("tock");
motor.run(BACKWARD); // the
other way
delay(1000);
Serial.print("tack");
motor.run(RELEASE); //
stopped
delay(1000);
}
Reste à trouver la library "AFMotor.h"
Edit :
Elle est incluse dans l'IDE Arduino, sur mon poste (MAC) elle se trouve dans ce dossier :
Applications/Arduino/arduino-0010/hardware/libraries/AFMotor/AFMotor.h