#include <Stepper.h> //library to control the motor

const int stepsPerRevolution = 2038; // the amount of steps needed to make a full rotation 
Stepper myStepper = Stepper(stepsPerRevolution, 7, 5, 6, 4); // initialize the motor with the pins that we connected

const int Direction = 1; // set to 1 for forwards and -1 for backwards

void setup() { //happens once
  myStepper.setSpeed(10); // set speed to 10 rpm, you can change to whatever speed you want
}

void loop() { //loops forever
	myStepper.step(Direction*(stepsPerRevolution));// Spins it once in the direction chosen
}