Skip to content

Commit 3230320

Browse files
committed
Update recipes.rst to add examples for analog clock and automatic blinds with stepper motor
1 parent 545a8cf commit 3230320

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/recipes.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,20 @@ Move the rover (roughly) in a square:
291291
Stepper motor
292292
-------------
293293

294-
Control a stepper motor connected via a driver board (e.g. ULN2003) to create:
294+
Control a stepper motor connected via a driver board (e.g. ULN2003).
295+
296+
Analog clock
297+
~~~~~~~~~~~~
298+
299+
Create a continuously-running analog clock second hand:
295300

296-
Analog clock (continuous second hand):
297301
.. literalinclude:: examples/stepper_analog_clock.py
298302

299-
Automatic blinds (multi-rotation, time-based):
303+
Automatic blinds
304+
~~~~~~~~~~~~~~~~
305+
306+
Time-based blind controller:
307+
300308
.. literalinclude:: examples/stepper_automatic_blinds.py
301309

302310

0 commit comments

Comments
 (0)