#include <AccelStepper.h>
#include <MultiStepper.h>

//Defining my stepper motors and the pins they are conected to
AccelStepper motor1(1,2,5); //(Type of driver,pin to arduino, pin to arduino )

void setup() {
motor1.setMaxSpeed(1000);
motor1.setAcceleration(1000);
}

void loop() {
motor1.setSpeed(1000);
motor1.runSpeed();
}