Skip to content

Commit 3d7a86d

Browse files
authored
Moved servo.py from pulseio.PWMOut to pwmio.PWMOut
1 parent d7f2335 commit 3d7a86d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_motor/servo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
class _BaseServo: # pylint: disable-msg=too-few-public-methods
2121
"""Shared base class that handles pulse output based on a value between 0 and 1.0
2222
23-
:param ~pulseio.PWMOut pwm_out: PWM output object.
23+
:param ~pwmio.PWMOut pwm_out: PWM output object.
2424
:param int min_pulse: The minimum pulse length of the servo in microseconds.
2525
:param int max_pulse: The maximum pulse length of the servo in microseconds."""
2626

@@ -58,7 +58,7 @@ def fraction(self, value):
5858
class Servo(_BaseServo):
5959
"""Control the position of a servo.
6060
61-
:param ~pulseio.PWMOut pwm_out: PWM output object.
61+
:param ~pwmio.PWMOut pwm_out: PWM output object.
6262
:param int actuation_range: The physical range of motion of the servo in degrees, \
6363
for the given ``min_pulse`` and ``max_pulse`` values.
6464
:param int min_pulse: The minimum pulse width of the servo in microseconds.

0 commit comments

Comments
 (0)