#include <Stepper.h>

const int stepPin = 12;
const int dirPin = 14;
const int stepsPerRevolution = 200;

Stepper myStepper(stepsPerRevolution, stepPin, dirPin);

void setup() {
  pinMode(stepPin, OUTPUT);
  pinMode(dirPin, OUTPUT);
  
  myStepper.setSpeed(100);
}

void loop() {
  digitalWrite(dirPin, HIGH);  

  int steps = stepsPerRevolution / 6;  

  myStepper.step(steps);
  
  delay(1000);
}
A4988