User:Kmcgiver0970/sketchOne

//Used to open a Master Lock with a combination of 6-16-22


 * 1) include 

AF_Stepper motor(200, 2);

void setup { Serial.begin(9600);          // set up Serial library at 9600 bps Serial.println("Stepper test!");

motor.setSpeed(10); // 10 rpm

motor.step(100, FORWARD, SINGLE); motor.release; delay(1000); }

void loop { motor.step(85, FORWARD, DOUBLE); //34 * 2.5 delay(500); motor.step(125, BACKWARD, DOUBLE); //50 * 2.5 delay(500); motor.step(85, FORWARD, DOUBLE); //34 * 2.5 delay(2000); }