Hi, my setup is simple. One motor, two buttons.
When one button is pressed, the motor accelerates in one direction up to a max speed, and continues for the duration that the button is held. When released, the motor stops.
When the other button is pressed, the motor accelerates in the other direction up to a max speed, and continues for the duration that the button is held. When released, the motor stops.
I've studied the library and there must be a simple way to do it.. but it seems like Accelstepper is built around the "moveto" or "move" foundations.. assuming that you need to know a target location.
Am I missing something?
Many thanks in advance.
Matt