#include <MobaTools.h>
//simulate cravity on clock hands
constexpr int stepPerRev=200;
// you can experiment with speed and ramplen
constexpr int maxSpeed=2000;
constexpr int rampLen=120;
MoToStepper handStepper(stepPerRev, STEPDIR);
void setup() {
handStepper.attach(10,11);
handStepper.setSpeedSteps(maxSpeed,rampLen); // set Speed and ramplength
}
void loop() {
handStepper.move(stepPerRev);
while( handStepper.moving() );
delay(10);
}