for (int i = 0; i < stepsToMove; i++) {
digitalWrite(stepPin, HIGH);
delayMicroseconds(stepDelay);
digitalWrite(stepPin, LOW);
delayMicroseconds(stepDelay);
}
Do you want me to set the stepDelay to 1250 or should it be 625 since there are 2 delays one after setting the stepPin to High and one after setting it to low and they would add up ?