Skip to content

Commit

Permalink
pybricks.pupdevices.Motor: Add versionchanged.
Browse files Browse the repository at this point in the history
Document moving stalled, load, done.
  • Loading branch information
laurensvalk committed Dec 2, 2022
1 parent 82340c3 commit ab4d4cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/main/pupdevices/motor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@ Motors with rotation sensors
output of the gear train. This is the gear ratio determined from the
``gears`` argument when initializing the motor.

.. versionchanged:: 3.2

The :meth:`done`, :meth:`stalled` and :meth:`load` methods have been
moved.

Initialization examples
-----------------------

Expand Down
4 changes: 4 additions & 0 deletions doc/main/robotics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@
.. autoattribute:: pybricks.robotics.DriveBase.heading_control
:annotation:

.. versionchanged:: 3.2

The :meth:`done` and :meth:`stalled` methods have been moved.

Examples
-------------------

Expand Down

0 comments on commit ab4d4cc

Please sign in to comment.