Skip to content

Commit 9f2bb46

Browse files
committed
Jekyll auto creates internal links to headers
Header all lower case, space replaced with hyphen
1 parent a40db43 commit 9f2bb46

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

programming/motors.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Each Motor Board can control two motors.
1111
See the [Motor Board](/docs/kit/motor_board) hardware page for more details.
1212

1313

14-
[Accessing the Motor Board](#access_motor_power) {#access_motor_power}
15-
----------------------------------------------------------------------
14+
Accessing the Motor Board
15+
-------------------------
1616

1717
If there is exactly one Motor Board connected to your robot, it can be accessed using the `motor_board` property of the `Robot` object.
1818

@@ -49,8 +49,8 @@ my_other_motor_board = robot.motor_boards["srXYZ1"]
4949
</div>
5050

5151

52-
[Setting motor power](#setting_motor_power) {#setting_motor_power}
53-
------------------------------------------------------------------
52+
Setting motor power
53+
-------------------
5454

5555
Control of your motors is achieved by setting a power output from one of the channels on your Motor Boards.
5656
Valid values are between -1 and 1 inclusive.
@@ -107,8 +107,8 @@ robot.motor_boards["srABC1"].motors[1].power = 0
107107
</div>
108108

109109

110-
[Getting the current motor power](#current_motor_power) {#current_motor_power}
111-
------------------------------------------------------------------------------
110+
Getting the current motor power
111+
-------------------------------
112112

113113
You can read the current power value for a motor using the same field:
114114

@@ -118,8 +118,8 @@ print(robot.motor_boards["srABC1"].motors[0].power)
118118
~~~~~
119119

120120

121-
[Special Values](#special_values) {#special_values}
122-
---------------------------------------------------
121+
Special Values
122+
--------------
123123

124124
In addition to the numeric values, there are two special constants that can be used:
125125
- `BRAKE`
@@ -145,8 +145,8 @@ robot.motor_boards["srABC1"].motors[0].power = COAST
145145
~~~~~
146146

147147

148-
[Motor currents](#motor_currents) {#motor_currents}
149-
---------------------------------------------------
148+
Motor currents
149+
--------------
150150

151151
The Motor Board can also measure the current being drawn by each of the ports on the board.
152152
This value is measured in amps.

0 commit comments

Comments
 (0)