#define steppin 13
#define dirpin 12
int pos = 0;

void setup(){
pinMode(steppin, OUTPUT);
pinMode(dirpin, OUTPUT);
digitalWrite(dirpin, HIGH);
Serial.begin(9600);
}

void loop(){
  for(pos == 0; pos <= 49; pos += 1){
  digitalWrite(steppin, HIGH);
       delay(15);
  digitalWrite(steppin, LOW);
  digitalWrite(dirpin, HIGH);
}
}
A4988