You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On A4988 one can see pins: direction, step and enable. Direction and step are controlled by A4988Nema(direction, step, …), but one can alse enable and disable motor sending 0 or 1 to «enable»-pin. For example, if one send GPIO.output(enable-pin, 1) motor goes into free mode, where one can manually change the position of the motor (motor_go doesn't rotate motor), and when one send GPIO.output(enable-pin, 0) motor goes into locked-position mode, where one can't manually change the position of the motor and only motor_go can rotate motor.
May be it would be convenient to have such an interface in the class with the ability to control the motor mode?
The text was updated successfully, but these errors were encountered:
On A4988 one can see pins: direction, step and enable. Direction and step are controlled by
A4988Nema(direction, step, …)
, but one can alse enable and disable motor sending 0 or 1 to «enable»-pin. For example, if one sendGPIO.output(enable-pin, 1)
motor goes into free mode, where one can manually change the position of the motor (motor_go
doesn't rotate motor), and when one sendGPIO.output(enable-pin, 0)
motor goes into locked-position mode, where one can't manually change the position of the motor and onlymotor_go
can rotate motor.May be it would be convenient to have such an interface in the class with the ability to control the motor mode?
The text was updated successfully, but these errors were encountered: