User Manual
7
// Set the spinning direction counterclockwise:
digitalWrite(CW_Pin, LOW);
// Spin the stepper motor 5 revolutions fast:
for (int i = 0; i < 5 * stepsPerRevolution; i++) {
// These four lines result in 1 step:
digitalWrite(CLK_Pin, HIGH);
delayMicroseconds(2000);
digitalWrite(CLK_Pin, LOW);
delayMicroseconds(2000);
}
delay(1000);
}
The running current limit can be set by using the DIP-switches located on the module. The
following table gives an overview of the possible settings.








