diff --git a/doc/api/diagram_source/movehub.ldr b/doc/api/diagram_source/movehub.ldr new file mode 100644 index 0000000..10e53cf --- /dev/null +++ b/doc/api/diagram_source/movehub.ldr @@ -0,0 +1,3 @@ +0 Author: Pybricks {laurens@pybricks.com} +0 !LICENSE MIT +1 15 0 -48 -20 1 0 0 0 1 0 0 0 1 26910.dat diff --git a/doc/api/diagram_source/movehub.svg b/doc/api/diagram_source/movehub.svg new file mode 100644 index 0000000..2e1a217 --- /dev/null +++ b/doc/api/diagram_source/movehub.svg @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + A + B + + diff --git a/doc/api/diagram_source/movehub_a.png b/doc/api/diagram_source/movehub_a.png new file mode 100644 index 0000000..834c887 Binary files /dev/null and b/doc/api/diagram_source/movehub_a.png differ diff --git a/doc/api/diagram_source/movehub_b.png b/doc/api/diagram_source/movehub_b.png new file mode 100644 index 0000000..eec124b Binary files /dev/null and b/doc/api/diagram_source/movehub_b.png differ diff --git a/doc/api/hubs.rst b/doc/api/hubs.rst index cafeab9..0c7173d 100644 --- a/doc/api/hubs.rst +++ b/doc/api/hubs.rst @@ -18,7 +18,7 @@ Select your programmable hub using the buttons below. .. tab-container:: movehub :title: Move Hub - .. figure:: ../api/images/movehub.png + .. figure:: ../api/images/movehub_label.png :height: 15 em .. include:: hubs_movehub.inc diff --git a/doc/api/images/movehub_label.png b/doc/api/images/movehub_label.png new file mode 100644 index 0000000..0d51c02 Binary files /dev/null and b/doc/api/images/movehub_label.png differ diff --git a/doc/api/pupdevices.rst b/doc/api/pupdevices.rst index 2bbcb70..cb7bccd 100644 --- a/doc/api/pupdevices.rst +++ b/doc/api/pupdevices.rst @@ -38,10 +38,11 @@ Motors with Rotation Sensors .. figure:: ../api/images/pupmotors_label.png :width: 100 % :alt: pupmotors - :align: center + :align: left Powered Up motors with rotation sensors. The arrows indicate the default - positive direction. + positive direction. See the :mod:`hubs ` module for default + directions of built-in motors. .. autoclass:: pybricks.pupdevices.Motor :noindex: