#include "A4988.h"
#define MOTOR_STEPS 200
#define STEP 2
#define DIR 15
#define MS1 4
#define MS2 5
#define MS3 18
A4988 stepper(MOTOR_STEPS, DIR, STEP, MS1, MS2, MS3);
void setup() {
stepper.begin(30, 1);
}
void loop() {
stepper.rotate(360);
delay(1000);
}