File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -164,8 +164,8 @@ Servos
164164======
165165It is possible to drive up to eight servos from CodeBug. Servos
166166typically 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
182182In order to drive servos from CodeBug you can call the `servo_set() `
183183method which takes the servo index (which leg you are driving the
You can’t perform that action at this time.
0 commit comments