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:: ../../main/cad/output/iodevice-dcmotor.png
   :width: 40 %

.. autoclass:: pybricks.iodevices.DCMotor
    :noindex:
    :no-members:

    .. automethod:: pybricks.iodevices.DCMotor.dc
        :noindex:

    .. automethod:: pybricks.iodevices.DCMotor.stop
        :noindex:
