Hello Nick,
The function stepper.currentPosition(); returns the current position and am able to see over serial monitor. I am not discarding that information but the main problem is it slows down the motor speed at 9600 to 56700 baud rate but works fine at 115200 baud rate.
I want a constant stepper speed irrespective of any baud rate and don't want my serial write function to affect my main loop timing. Any idea modifying my program?
I got Accelstepper.h from this link: AccelStepper: AccelStepper.h Source File