From 323032017e1bcc2c9939bce7c71007ef63666f8a Mon Sep 17 00:00:00 2001 From: Pete Bell Date: Fri, 28 Nov 2025 16:43:02 +0000 Subject: [PATCH 1/2] Update recipes.rst to add examples for analog clock and automatic blinds with stepper motor --- docs/recipes.rst | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/recipes.rst b/docs/recipes.rst index cc867c4..6288a24 100644 --- a/docs/recipes.rst +++ b/docs/recipes.rst @@ -291,12 +291,20 @@ Move the rover (roughly) in a square: Stepper motor ------------- -Control a stepper motor connected via a driver board (e.g. ULN2003) to create: +Control a stepper motor connected via a driver board (e.g. ULN2003). + +Analog clock +~~~~~~~~~~~~ + +Create a continuously-running analog clock second hand: -Analog clock (continuous second hand): .. literalinclude:: examples/stepper_analog_clock.py -Automatic blinds (multi-rotation, time-based): +Automatic blinds +~~~~~~~~~~~~~~~~ + +Time-based blind controller: + .. literalinclude:: examples/stepper_automatic_blinds.py From 1556d3b70b0b8d2bf8e65cefd94a0d18a6d957dc Mon Sep 17 00:00:00 2001 From: Pete Bell Date: Fri, 28 Nov 2025 16:49:08 +0000 Subject: [PATCH 2/2] Bump version to 0.6.1 and update changelog for documentation improvements --- docs/changelog.rst | 6 +++++- docs/conf.py | 2 +- package.json | 2 +- picozero/__init__.py | 2 +- setup.py | 2 +- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 445293a..2481b1e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -3,6 +3,11 @@ Change log .. currentmodule:: picozero +0.6.1 - 2025-11-28 +----------- + ++ Updated documentation + 0.6.0 - 2025-11-26 ----------- @@ -11,7 +16,6 @@ Change log + Updated tests and documentation + Other minor bug fixes - 0.5.2 - 2025-11-26 ----------- diff --git a/docs/conf.py b/docs/conf.py index 58b0114..7cc3dc7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -64,7 +64,7 @@ def __getattr__(cls, name): author = "Raspberry Pi Foundation" # The full version, including alpha/beta/rc tags -release = "0.6.0" +release = "0.6.1" # -- General configuration --------------------------------------------------- diff --git a/package.json b/package.json index cdab9ca..60ac58b 100644 --- a/package.json +++ b/package.json @@ -5,5 +5,5 @@ ], "deps": [ ], - "version": "0.6.0" + "version": "0.6.1" } diff --git a/picozero/__init__.py b/picozero/__init__.py index 44ef587..653b078 100644 --- a/picozero/__init__.py +++ b/picozero/__init__.py @@ -1,6 +1,6 @@ __name__ = "picozero" __package__ = "picozero" -__version__ = "0.6.0" +__version__ = "0.6.1" __author__ = "Raspberry Pi Foundation" from .picozero import ( diff --git a/setup.py b/setup.py index 7ebda74..12aa14d 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ __project__ = "picozero" __packages__ = ["picozero"] __desc__ = "A beginner-friendly library for using common electronics components with the Raspberry Pi Pico. " -__version__ = "0.6.0" +__version__ = "0.6.1" __author__ = "Raspberry Pi Foundation" __author_email__ = "learning@raspberrypi.org" __license__ = "MIT"