Skip to content

Jittery stepper #49

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

Open
MAbdelatti opened this issue Jun 6, 2024 · 0 comments
Open

Jittery stepper #49

MAbdelatti opened this issue Jun 6, 2024 · 0 comments

Comments

@MAbdelatti
Copy link

I use the provided example code on my stepper. The motor rotates one or two cycles then the rotation stops and resumes multiple times.

Appreciate your help. here's the code:

from adafruit_motor import stepper
from adafruit_motorkit import MotorKit

kit = MotorKit(i2c=board.I2C())

kit.stepper1.release()

try:
    while True:
        print("Double coil steps")
        kit.stepper1.onestep(direction=stepper.FORWARD, style=stepper.DOUBLE)
except KeyboardInterrupt:
    kit.stepper1.release()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant