We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1643e68 commit d8e28f7Copy full SHA for d8e28f7
content/api/servos.md
@@ -13,7 +13,7 @@ You can control attached servo motors from the [Arduino](../arduino/). By defaul
13
The servo assembly can interface with up to sixteen servos connected to it.
14
15
```python
16
-servo_one = r.arduino.servos[1]
+servo_zero = r.arduino.servos[0]
17
```
18
19
{{% notice tip %}}
@@ -25,8 +25,8 @@ Servo can be connected to any port, you don't have to start at 0!
25
Servos can be controlled using the `position` parameter. This should be set to a value between -1 and 1.
26
27
28
-servo_one.position = 0.65
29
-print(servo_one.position)
+servo_zero.position = 0.65
+print(servo_zero.position)
30
>>> 0.65
31
32
0 commit comments