Files
pybricks-api/doc/api/iodevices/dcmotor.rst
T
Laurens Valk 46d9e3c119 doc/iodevices: refactor
Split all classes to their own file. This keeps things organized, and allows per-class comments about compatibility. Also flatten toggled examples.
2021-01-13 16:54:18 +01:00

21 lines
449 B
ReStructuredText

EV3 DC Motor
^^^^^^^^^^^^^^^^^^
.. note::
This class is specifically for on EV3. For Powered Up DC Motors, just use
the :class:`DCMotor <pybricks.pupdevices.DCMotor>` class.
.. figure:: ../../api/images/rcxmotor.png
:width: 40 %
.. autoclass:: pybricks._common.DCMotor
:noindex:
:no-members:
.. automethod:: pybricks._common.DCMotor.dc
:noindex:
.. automethod:: pybricks._common.DCMotor.stop
:noindex: