Reply To: Stop motor at mechanical end position?

HomeForumsMonoBrick EV3 FirmwareStop motor at mechanical end position?Reply To: Stop motor at mechanical end position?

Author Image
Anders Søborg

Hi there
Thanks for using monobrick firmware.

How does GetSpeed() work?

It simply returns the current speed.


Returns the position in degrees.

Writing a function like the one you describe depends on what approach you use. If you have some feedback that tells you when to stop simply move the motor until this requirement is meet. But just from your description it is hard to tell how to write the code. If you need input try possting the code you have.


Posted in

Make a donation