mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 09:05:07 +00:00
Also split out to separate class files like we did for pupdevices. Also make various EV3 and NXT sensor methods awaitable.
54 lines
1.2 KiB
ReStructuredText
54 lines
1.2 KiB
ReStructuredText
.. pybricks-requirements:: ev3
|
|
|
|
:mod:`ev3devices <pybricks.ev3devices>` -- EV3 motors and sensors
|
|
=================================================================
|
|
|
|
.. automodule:: pybricks.ev3devices
|
|
:no-members:
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:hidden:
|
|
|
|
touchsensor
|
|
colorsensor
|
|
infraredsensor
|
|
ultrasonicsensor
|
|
gyrosensor
|
|
|
|
.. pybricks-classlink:: Motor ../pupdevices/motor
|
|
|
|
.. figure:: ../../main/cad/output/ev3device-motors.png
|
|
:width: 100 %
|
|
:target: ../pupdevices/motor.html
|
|
|
|
.. pybricks-classlink:: TouchSensor
|
|
|
|
.. figure:: ../../main/cad/output/ev3device-touch.png
|
|
:width: 18 %
|
|
:target: touchsensor.html
|
|
|
|
.. pybricks-classlink:: ColorSensor
|
|
|
|
.. figure:: ../../main/cad/output/ev3device-color.png
|
|
:width: 18 %
|
|
:target: colorsensor.html
|
|
|
|
.. pybricks-classlink:: InfraredSensor
|
|
|
|
.. figure:: ../../main/cad/output/ev3device-infrared.png
|
|
:width: 60 %
|
|
:target: infraredsensor.html
|
|
|
|
.. pybricks-classlink:: UltrasonicSensor
|
|
|
|
.. figure:: ../../main/cad/output/ev3device-ultrasonic.png
|
|
:width: 22 %
|
|
:target: ultrasonicsensor.html
|
|
|
|
.. pybricks-classlink:: GyroSensor
|
|
|
|
.. figure:: ../../main/cad/output/ev3device-gyro.png
|
|
:width: 18 %
|
|
:target: gyrosensor.html
|