Skip to content

Commit

Permalink
Specify order of geartrain in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaguilar committed Mar 11, 2024
1 parent 1194f6c commit 284d4e5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pybricks/pupdevices.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,13 @@ def __init__(
turn when you give a positive speed value or
angle.
gears (list):
List of gears linked to the motor.
List of gears linked to the motor, with the gear connected
to the motor first and the gear connected to the output
last.
For example: ``[12, 36]`` represents a gear train with a
12-tooth and a 36-tooth gear. Use a list of lists for multiple
12-tooth gear connected to the motor and a 36-tooth gear
connected to the output. Use a list of lists for multiple
gear trains, such as ``[[12, 36], [20, 16, 40]]``.
When you specify a gear train, all motor commands and settings
Expand Down

0 comments on commit 284d4e5

Please sign in to comment.