const int dirPin = 18;
const int pulPin = 19;
const int enbPin = 10;

void setup()
{
  pinMode(dirPin, OUTPUT);
  pinMode(pulPin, OUTPUT);
  pinMode(enbPin, OUTPUT);
  
}

void loop()
{
  digitalWrite(dirPin, HIGH);
  
  for (int x = 0; x<8000; x++)
  {
    digitalWrite(pulPin, HIGH);
    delayMicroseconds(700);
    digitalWrite(pulPin, LOW);
    delayMicroseconds(700);
  }
  delay(5000);
}
A4988