mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 09:37:25 +00:00
69 lines
1.3 KiB
ReStructuredText
69 lines
1.3 KiB
ReStructuredText
:mod:`iodevices <pybricks.iodevices>` -- Generic I/O Devices
|
|
============================================================
|
|
|
|
.. automodule:: pybricks.iodevices
|
|
:no-members:
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
:hidden:
|
|
|
|
pupdevice
|
|
i2cdevice
|
|
uartdevice
|
|
analogsensor
|
|
lumpdevice
|
|
dcmotor
|
|
ev3devsensor
|
|
|
|
.. class:: PUPDevice
|
|
:noindex:
|
|
|
|
.. figure:: ../../api/images/sensor_pup.png
|
|
:width: 70 %
|
|
:target: pupdevice.html
|
|
|
|
This class is only available on Powered Up hubs.
|
|
|
|
.. class:: I2CDevice
|
|
:noindex:
|
|
|
|
.. figure:: ../../api/images/sensor_rj12_bluegreen.png
|
|
:width: 25 %
|
|
:target: i2cdevice.html
|
|
|
|
.. class:: UARTDevice
|
|
:noindex:
|
|
|
|
.. figure:: ../../api/images/sensor_rj12_gray.png
|
|
:width: 25 %
|
|
:target: uartdevice.html
|
|
|
|
.. class:: AnalogSensor
|
|
:noindex:
|
|
|
|
.. figure:: ../../api/images/sensor_rj12_brown.png
|
|
:width: 25 %
|
|
:target: analogsensor.html
|
|
|
|
.. class:: LUMPDevice
|
|
:noindex:
|
|
|
|
.. figure:: ../../api/images/sensor_rj12_green.png
|
|
:width: 25 %
|
|
:target: lumpdevice.html
|
|
|
|
.. class:: DCMotor
|
|
:noindex:
|
|
|
|
.. figure:: ../../api/images/rcxmotor.png
|
|
:width: 40 %
|
|
:target: dcmotor.html
|
|
|
|
.. class:: Ev3devSensor
|
|
:noindex:
|
|
|
|
.. figure:: ../../api/images/sensor_ev3dev.png
|
|
:width: 70 %
|
|
:target: ev3devsensor.html
|