mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
Split all classes to their own file. This keeps things organized, and allows per-class comments about compatibility. Also flatten toggled examples.
21 lines
449 B
ReStructuredText
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:
|