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.
13 lines
263 B
ReStructuredText
13 lines
263 B
ReStructuredText
.. pybricks-requirements:: ev3
|
|
|
|
NXT Touch Sensor
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
.. figure:: ../../main/cad/output/nxtdevice-touch.png
|
|
:width: 18 %
|
|
|
|
.. autoclass:: pybricks.nxtdevices.TouchSensor
|
|
:no-members:
|
|
|
|
.. automethod:: pybricks.nxtdevices.TouchSensor.pressed
|