#include "Stepper_driver.h"
stepperDriver drive1(5, 4, 2);
long steps = 50;
void setup() {
Serial.begin(115200);
drive1.ini();
Serial.println("Motor ready.");
delay(1000);
drive1.move(steps, cw);
Serial.printf("The motor's moved %d steps in direction %d", steps, cw);
}
void loop() {
}