stepper control per the Robin2 tutorial?

You have not copied my code correctly

    delayMicroseconds(pulseWidthMicros);
    digitalWrite(stepPin, LOW);
    delayMicroseconds(pulseWidthMicros);

The last line should be

delay(millisBetweenSteps);

Your code is trying to move the motor much too fast.

...R