mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-07-27 19:57:02 +00:00
doc: initial content for hubs
This is cherry-picking from 86e9b0b0fc15b019406bee43718fbdf3416dcf0d
This commit is contained in:
+10
-2
@@ -1,4 +1,12 @@
|
||||
:mod:`hub4` -- Powered Up Train/System Hub
|
||||
==============================================
|
||||
:mod:`hub4` -- LEGO® Power Functions 2.0 Hub 4
|
||||
=====================================================
|
||||
|
||||
.. automodule:: hub4
|
||||
:no-members:
|
||||
|
||||
Battery
|
||||
-------
|
||||
|
||||
.. automethod:: hub4.battery.voltage
|
||||
|
||||
.. automethod:: hub4.battery.current
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
:mod:`lpf2` -- Power Function 2.0 Motors and Sensors
|
||||
====================================================
|
||||
:mod:`lpf2devices` -- Power Function 2.0 Motors and Sensors
|
||||
===========================================================
|
||||
|
||||
.. automodule:: lpf2devices
|
||||
:no-members:
|
||||
|
||||
+10
-2
@@ -1,4 +1,12 @@
|
||||
:mod:`movehub` -- The Move Hub
|
||||
=============================================
|
||||
:mod:`movehub` -- LEGO® Power Functions 2.0 Move Hub
|
||||
====================================================
|
||||
|
||||
.. automodule:: movehub
|
||||
:no-members:
|
||||
|
||||
Battery
|
||||
-------
|
||||
|
||||
.. automethod:: movehub.battery.voltage
|
||||
|
||||
.. automethod:: movehub.battery.current
|
||||
|
||||
Reference in New Issue
Block a user