Skip to content

Commit 5260401

Browse files
committed
s/part/serial/
1 parent 0b723cd commit 5260401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

programming/sr/servos/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ It will look something like this:
2626
sr.robot3.robot INFO - Found Student Robotics Servo Board v4 - srABC1
2727
~~~~~
2828

29-
If you have more than one Servo Board attached, you need to specify which one you want to control. This is done using the part number of the board. For example: if you had a board that was labelled "srABC1",
29+
If you have more than one Servo Board attached, you need to specify which one you want to control. This is done using the serial number of the board. For example: if you had a board that was labelled "srABC1",
3030

3131
~~~~~ python
3232
R.servo_boards["srABC1"].something...
@@ -49,7 +49,7 @@ The position of servos can range from `-1` to `1` inclusive:
4949
# set servo 1's position (on the first Servo Board connected) to 0.2
5050
R.servo_board.servos[1].position = 0.2
5151

52-
# Set servo 2's position (on the Servo Board with part code srABC) to -0.55
52+
# Set servo 2's position (on the Servo Board with serial number srABC) to -0.55
5353
R.servo_boards["srABC"].servos[2].position = -0.55
5454
~~~~~
5555

0 commit comments

Comments
 (0)