Skip to content

Commit 41dc30f

Browse files
author
Thomas Preston
committed
Slight alterations to servo docs
1 parent 220a54e commit 41dc30f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/example.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ Servos
164164
======
165165
It is possible to drive up to eight servos from CodeBug. Servos
166166
typically operate by sending them a PWM (Pulse Width Modulation) signal
167-
with a 20ms period and a 1-2ms duty cycle which controls the rotation
168-
angle of the servo. For example::
167+
with a 20ms period and a 1-2ms duty cycle which controls the angle of
168+
the servo. For example::
169169

170170
Pulse Length
171171
<-1-2ms->
@@ -175,9 +175,9 @@ angle of the servo. For example::
175175
<------------------20ms (50Hz)----------------->
176176
PWM Period
177177

178-
A duty cycle of 1ms might correspond to 0° rotation and a duty cycle of
179-
2ms might correspond to 180° rotation. Although the precise values may
180-
differ depending on the type of servo.
178+
A duty cycle of 1ms will typically correspond to 0° rotation and a duty
179+
cycle of 2ms will typically correspond to 180° rotation. Although the
180+
precise values may differ depending on the type of servo.
181181

182182
In order to drive servos from CodeBug you can call the `servo_set()`
183183
method which takes the servo index (which leg you are driving the

0 commit comments

Comments
 (0)