Skip to content

Commit 1261466

Browse files
committed
Add new examples for stepper motor control
1 parent bd61644 commit 1261466

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

docs/recipes.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -276,16 +276,18 @@ Move the rover (roughly) in a square:
276276

277277
.. literalinclude:: examples/robot_rover_square.py
278278

279+
279280
Stepper motor
280281
-------------
281282

282-
Control a stepper motor connected via a driver board (e.g. ULN2003):
283+
Control a stepper motor connected via a driver board (e.g. ULN2003) to create:
283284

284-
.. literalinclude:: examples/stepper.py
285+
Analog clock (continuous second hand):
286+
.. literalinclude:: examples/stepper_analog_clock.py
285287

286-
Advanced positioning with precise angle control:
288+
Automatic blinds (multi-rotation, time-based):
289+
.. literalinclude:: examples/stepper_automatic_blinds.py
287290

288-
.. literalinclude:: examples/stepper_positioning.py
289291

290292
Internal temperature sensor
291293
---------------------------

0 commit comments

Comments
 (0)