(Solved) accelstepper code for stepper with constant speed in 2 directions

Your welcome. Thanks for the code. I'll try it when I get my driver in the next few days.