#include <Stepper.h>

#define Number_Of_Rotations 2
#define STEPS_PER_MOTOR_REVOLUTION 32
#define STEPS_PER_OUTPUT_REVOLUTION 2048 * Number_Of_Rotations
int StopTime = 100;

Stepper myStepper(STEPS_PER_MOTOR_REVOLUTION, 8, 10, 9, 11);

int  Steps;

void setup(){
}

void loop(){
  Steps = STEPS_PER_OUTPUT_REVOLUTION;
  myStepper.setSpeed(1000);
  myStepper.step(Steps);
  delay(StopTime);

  Steps = - STEPS_PER_OUTPUT_REVOLUTION;
  myStepper.setSpeed(1000);
  myStepper.step(Steps);
  delay(StopTime);
}