summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/pyb.Servo.rst
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-08 16:21:28 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2016-06-08 16:21:28 +0300
commita384a5313013d8ffda4db0e509cf798a080b3526 (patch)
treec1b87be77f0a3a68fc5a55880bf9de8af3b90b87 /docs/library/pyb.Servo.rst
parent585aafc27eb7fa8fe660e3eeaa29bf8d7ab99213 (diff)
downloadmicropython-a384a5313013d8ffda4db0e509cf798a080b3526.tar.gz
micropython-a384a5313013d8ffda4db0e509cf798a080b3526.zip
docs/pyb.*: Use proper class case in method headers.
Class designator will be used as is in indexes, so must match actual class name.
Diffstat (limited to 'docs/library/pyb.Servo.rst')
-rw-r--r--docs/library/pyb.Servo.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/library/pyb.Servo.rst b/docs/library/pyb.Servo.rst
index da117c8076..b3ce71d11a 100644
--- a/docs/library/pyb.Servo.rst
+++ b/docs/library/pyb.Servo.rst
@@ -38,7 +38,7 @@ Constructors
Methods
-------
-.. method:: servo.angle([angle, time=0])
+.. method:: Servo.angle([angle, time=0])
If no arguments are given, this function returns the current angle.
@@ -49,7 +49,7 @@ Methods
angle. If omitted, then the servo moves as quickly as possible to its
new position.
-.. method:: servo.speed([speed, time=0])
+.. method:: Servo.speed([speed, time=0])
If no arguments are given, this function returns the current speed.
@@ -59,14 +59,14 @@ Methods
- ``time`` is the number of milliseconds to take to get to the specified
speed. If omitted, then the servo accelerates as quickly as possible.
-.. method:: servo.pulse_width([value])
+.. method:: Servo.pulse_width([value])
If no arguments are given, this function returns the current raw pulse-width
value.
If an argument is given, this function sets the raw pulse-width value.
-.. method:: servo.calibration([pulse_min, pulse_max, pulse_centre, [pulse_angle_90, pulse_speed_100]])
+.. method:: Servo.calibration([pulse_min, pulse_max, pulse_centre, [pulse_angle_90, pulse_speed_100]])
If no arguments are given, this function returns the current calibration
data, as a 5-tuple.