Page 1 of 1

E-Stop Reset by Python

Posted: Tue Feb 25, 2020 2:39 am
by fausto.tromba
How to stop the motor by python? is it possible to receive a code example?
I was reading E-Stop Reset Method, but there is not so much description and the Python library doesn't include the methods.

Thamks

Fausto

Re: E-Stop Reset by Python

Posted: Tue Feb 25, 2020 9:55 am
by Basicmicro Support
To Stop the motors as fast as an E-Stop signal would using python, use the DutyM1M2 function. Set duty to 0 for both motors.

Note: E-Stop Reset is to clear an already triggered E-Stop. E-Stop can only be triggered from an external pin.