Need help with stepper motor profile with Accelstepper.h

Hi Robin,

Thanks for the reply.

I have tried to understand your code in the other thread. It seems to be a little too advance for my level. I am quite new to this actually.

From your code, seems like there is only 2 pins used. 1 for direction and 1 for steps only.

Can you provide some simple guide for me?