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

Leave a little time after initialising chipdrive.tmc5130() #5

Open
AndyThirtover opened this issue Jul 20, 2019 · 1 comment
Open

Comments

@AndyThirtover
Copy link

My original code looked like this:

mot = chipdrive.tmc5130(settings=nema17,loglvl=logging.ERROR)
for i in range(2):
    mot.goto(0.3)
    mot.goto(0)

This was to check that the index marker came back to the same place each time. I found that I was probably losing some early steps.

Now I have:

mot = chipdrive.tmc5130(settings=nema17,loglvl=logging.ERROR)
time.sleep(0.5)

and all is good

Regards

Andy

@pootle
Copy link
Owner

pootle commented Jul 20, 2019

ah yes you definately need to jabe a pause at least between the 2 gotos

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

2 participants