Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable / disable stepping motor A4988 #24

Open
shsmad opened this issue Jan 13, 2024 · 1 comment
Open

Enable / disable stepping motor A4988 #24

shsmad opened this issue Jan 13, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@shsmad
Copy link

shsmad commented Jan 13, 2024

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?

@gavinlyonsrepo gavinlyonsrepo added the enhancement New feature or request label Jan 13, 2024
@gavinlyonsrepo gavinlyonsrepo self-assigned this Jan 13, 2024
@gavinlyonsrepo
Copy link
Owner

Will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants