Skip to content

Commit

Permalink
doc/hubs: add Move Hub motor default directions
Browse files Browse the repository at this point in the history
  • Loading branch information
laurensvalk committed Apr 8, 2020
1 parent 88ffa6c commit 5e92168
Show file tree
Hide file tree
Showing 7 changed files with 231 additions and 3 deletions.
3 changes: 3 additions & 0 deletions doc/api/diagram_source/movehub.ldr
Original file line number Diff line number Diff line change
@@ -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
224 changes: 224 additions & 0 deletions doc/api/diagram_source/movehub.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/diagram_source/movehub_a.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/api/diagram_source/movehub_b.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/api/hubs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file added doc/api/images/movehub_label.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions doc/api/pupdevices.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <pybricks.hubs>` module for default
directions of built-in motors.

.. autoclass:: pybricks.pupdevices.Motor
:noindex:
Expand Down

0 comments on commit 5e92168

Please sign in to comment.