mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 17:46:19 +00:00
Now that the instance hack has been dropped, all that remains is the simplified motor docs, so rename file accordingly.
58 lines
1.3 KiB
ReStructuredText
58 lines
1.3 KiB
ReStructuredText
:mod:`ev3devices <pybricks.ev3devices>` -- EV3 Devices
|
|
======================================================
|
|
|
|
.. automodule:: pybricks.ev3devices
|
|
:no-members:
|
|
|
|
Motor
|
|
^^^^^^^^^^^^
|
|
|
|
.. autoclass:: pybricks._simplemotor.Motor
|
|
:noindex:
|
|
:no-members:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.angle
|
|
:noindex:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.reset_angle
|
|
:noindex:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.speed
|
|
:noindex:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.stop
|
|
:noindex:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.run
|
|
:noindex:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.run_time
|
|
:noindex:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.run_angle
|
|
:noindex:
|
|
|
|
.. automethod:: pybricks._simplemotor.Motor.run_target
|
|
:noindex:
|
|
|
|
|
|
Touch Sensor
|
|
^^^^^^^^^^^^
|
|
.. autoclass:: pybricks.ev3devices.TouchSensor
|
|
|
|
Color Sensor
|
|
^^^^^^^^^^^^
|
|
.. autoclass:: pybricks.ev3devices.ColorSensor
|
|
|
|
Infrared Sensor and Beacon
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: pybricks.ev3devices.InfraredSensor
|
|
|
|
Ultrasonic Sensor
|
|
^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: pybricks.ev3devices.UltrasonicSensor
|
|
|
|
Gyroscopic Sensor
|
|
^^^^^^^^^^^^^^^^^
|
|
.. autoclass:: pybricks.ev3devices.GyroSensor
|