Skip to content

Commit 6a3393e

Browse files
committed
Correct unit of time in the Servo class docstring
Docstring erroneously stated that units were in microseconds when they were in fact milliseconds. This patch corrects that.
1 parent d814f57 commit 6a3393e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

simpleio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ class Servo:
178178
Easy control for hobby (3-wire) servos
179179
180180
:param ~microcontroller.Pin pin: PWM pin where the servo is located.
181-
:param int min_pulse: Pulse width (microseconds) corresponding to 0 degrees.
182-
:param int max_pulse: Pulse width (microseconds) corresponding to 180 degrees.
181+
:param int min_pulse: Pulse width (milliseconds) corresponding to 0 degrees.
182+
:param int max_pulse: Pulse width (milliseconds) corresponding to 180 degrees.
183183
184184
Example for Metro M0 Express:
185185

0 commit comments

Comments
 (0)