#include //Hardware Pin's int stepper1_dir = 5; int stepper1_step = 4; int stepper2_dir = 6; int stepper2_step = 7; //Driver Configuration - MicroSteps int microstep =16; float full_rev = 200 * microstep; //Vars for 360ยบ calculos int graus = 90; float new_graus = (graus * full_rev)/360; //Motor's initiation... AccelStepper stepper1(AccelStepper::DRIVER, stepper1_dir, stepper1_step); //AccelStepper stepper2(AccelStepper::DRIVER, stepper2_dir, stepper2_step); void setup() { stepper1.setMaxSpeed(700000); stepper1.setAcceleration(2000.0); stepper1.moveTo(new_graus); } void loop() { stepper1.run(); }