doc: initial content for hubs

This is cherry-picking from 86e9b0b0fc15b019406bee43718fbdf3416dcf0d
This commit is contained in:
Laurens Valk
2019-04-20 11:51:03 +02:00
parent 33b4ef79cc
commit 660bc0cea5
3 changed files with 22 additions and 6 deletions
+10 -2
View File
@@ -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
+2 -2
View File
@@ -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
View File
@@ -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