mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
Those should be included as working and tested Python files instead. They should be toggled on/off.
21 lines
623 B
PHP
21 lines
623 B
PHP
.. autoclass:: pybricks.hubs.MoveHub
|
|
:no-members:
|
|
|
|
.. rubric:: Motor and Sensor Ports
|
|
|
|
+-----------------+-----------------+-----------------+-----------------+
|
|
|.. data:: Port.A |.. data:: Port.B |.. data:: Port.C |.. data:: Port.D |
|
|
+-----------------+-----------------+-----------------+-----------------+
|
|
|
|
.. rubric:: Using the hub status light
|
|
|
|
.. automethod:: pybricks._instances.light.on
|
|
|
|
.. automethod:: pybricks._instances.light.off
|
|
|
|
.. rubric:: Using the battery
|
|
|
|
.. automethod:: pybricks._instances.battery.voltage
|
|
|
|
.. automethod:: pybricks._instances.battery.current
|