AWOL:
delayMicroseconds(MicrosBetweenSteps); // this line is probably unnecessary
...
delayMicroseconds(MillisBetweenSteps);
Millis or micros? Confused.
Yes you are right. I made some changes to the code and that missed me.
Robin2:
What is the max number of steps per second you are actually getting without missing any steps?
How can I test this? Is there an easy way to test it? Or do I have to record the movement of the motor with a camera for instance?