Programming the stepper motors

ABOUT THE VIDEO

In this video, I will hook program a stepper motor to move a horse around the track.

DIR- Arduino Pin 10

DIR+ Arduino Pin 11

PUL- Arduino Pin 12

PUL+ Arduino Pin 13

#include 

Stepper horse5(800, 13, 12, 11, 10);

void setup()
{
	horse5.setSpeed(70);
}

void loop()
{
	horse5.step(400);
	delay(200);	
}