tripipy icon indicating copy to clipboard operation
tripipy copied to clipboard

Leave a little time after initialising chipdrive.tmc5130()

Open AndyThirtover opened this issue 4 years ago • 1 comments

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

AndyThirtover avatar Jul 20 '19 12:07 AndyThirtover