Am constructing a linear actuator to drive a carriage along a rail using a stepper motor and toothed belt.
I intend using an Arduino UNO R3 and an Easy Driver board.
I'm 95% there with the code, thanks to Brian Schmalz. See the last diagram on the page here.
Where I'm stuck is adding two limit switches to the code.
Any assistance would be greatly appreciated.