Page 1 of 1

Set zero position for stepper ???

Posted: Thu Jan 16, 2020 8:21 pm
by fahrt_de
hi there
i am kind of confused why is there no "setZeroPosition"
message or "setCurrentPosition 0" or "resetMotorPosition"
in the example ?
i really tried a lot posibilities.
has anyone a idear how to reset the motorposition to zero?
thanks a lot
chris

Re: Set zero position for stepper ???

Posted: Fri Jan 17, 2020 9:12 am
by fraser
you can use "addPositionOffset" to do that

Re: Set zero position for stepper ???

Posted: Fri Jan 17, 2020 3:32 pm
by fahrt_de
thanks a lot for the fast reply.
i already tried a while with no success....
but if you multiply position result with -1 it works...

kind of long winded....