Skip to content

Commit 9c3de3a

Browse files
authored
Merge pull request #72 from jposada202020/updating_examples
addding_examples small change in the api.rst (spacing)
2 parents 4c36fa4 + b5bda1a commit 9c3de3a

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

docs/api.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
:members:
66

77
.. automodule:: adafruit_motor.servo
8-
:members:
8+
:members:
99

1010
.. automodule:: adafruit_motor.stepper
11-
:members:
11+
:members:

docs/examples.rst

+21
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,39 @@ Ensure your device works with this simple test.
77
:caption: examples/motor_servo_sweep_simpletest.py
88
:linenos:
99

10+
Motor PCA9685 DC Motor
11+
------------------------
12+
13+
This example uses an Adafruit Stepper and DC Motor FeatherWing to run a DC Motor
14+
1015
.. literalinclude:: ../examples/motor_pca9685_dc_motor.py
1116
:caption: examples/motor_pca9685_dc_motor.py
1217
:linenos:
1318

19+
Motor PCA9685 Stepper Motor
20+
---------------------------
21+
22+
This example uses an Adafruit Stepper and DC Motor FeatherWing to run a Stepper Motor.
23+
24+
1425
.. literalinclude:: ../examples/motor_pca9685_stepper_motor.py
1526
:caption: examples/motor_pca9685_stepper_motor.py
1627
:linenos:
1728

29+
Motor Servo Sweep
30+
--------------------
31+
32+
Show the servo sweep capabilities
33+
1834
.. literalinclude:: ../examples/motor_pca9685_servo_sweep.py
1935
:caption: examples/motor_pca9685_servo_sweep.py
2036
:linenos:
2137

38+
Motor PCA9685 Continuous Motor
39+
------------------------------
40+
41+
Show an example with a continuous motor
42+
2243
.. literalinclude:: ../examples/motor_pca9685_continuous_servo.py
2344
:caption: examples/motor_pca9685_continuous_servo.py
2445
:linenos:

0 commit comments

Comments
 (0)