I am having some trouble doing a multistepper control of a pair of 400 step per revolution motors without using Accelstepper, just Stepper.
The gist of my control looks like this:
while (encoderEWV1<EndPos || encoderEWV2<EndPos){
motorEWV1.onestep(FORWARD,DOUBLE);
motorEWV2.onestep(BACKWARD,DOUBLE);
delayMicroseconds(125000/Spd/2);
}
If Spd is set fairly low, like 100 then it runs beautifully, but the critical control speed is around Spd=20 at which point the stepper runs very poorly and one of them will miss a lot of steps.
The setSpeed command does not seem to have any input into the onestep command. Any other way to do this sort of control and get better results?

