Skip to content

Commit 69fc0f7

Browse files
committed
Merge branch 'master' into value-docs
2 parents 540263b + e49bbbd commit 69fc0f7

File tree

3 files changed

+16
-7
lines changed

3 files changed

+16
-7
lines changed

docs/changelog.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Changelog
3535

3636
.. currentmodule:: gpiozero
3737

38-
Release 1.5.0 (2019-02-11)
38+
Release 1.5.0 (2019-02-12)
3939
==========================
4040

4141
* Introduced pin event timing to increase accuracy of certain devices such as
@@ -49,11 +49,15 @@ Release 1.5.0 (2019-02-11)
4949
(thanks to Jeevan M R for the latter). (`#532`_, `#714`_)
5050
* Added support for `colorzero`_ with :class:`RGBLED` (this adds a new
5151
dependency). (`#655`_)
52-
* Added :class:`TonalBuzzer` class with musical notation API :class:`Tone`.
53-
(`#681`_, `#717`_)
52+
* Added :class:`TonalBuzzer` with :class:`~tones.Tone` API for specifying frequencies
53+
raw or via MIDI or musical notes. (`#681`_, `#717`_)
5454
* Added :class:`PiHutXmasTree`. (`#502`_)
5555
* Added :class:`PumpkinPi` and :class:`JamHat` (thanks to Claire Pollard).
5656
(`#680`_, `#681`_, `#717`_)
57+
* Ensured gpiozero can be imported without a valid pin factory set. (`#591`_,
58+
`#713`_)
59+
* Reduced import time by not computing default pin factory at the point of
60+
import. (`#675`_, `#722`_)
5761
* Added support for various pin numbering mechanisms. (`#470`_)
5862
* :class:`Motor` instances now use :class:`DigitalOutputDevice` for non-PWM
5963
pins.
@@ -89,6 +93,10 @@ Release 1.5.0 (2019-02-11)
8993
.. _#717: https://github.com/RPi-Distro/python-gpiozero/issues/717
9094
.. _#680: https://github.com/RPi-Distro/python-gpiozero/issues/680
9195
.. _#502: https://github.com/RPi-Distro/python-gpiozero/issues/502
96+
.. _#591: https://github.com/RPi-Distro/python-gpiozero/issues/591
97+
.. _#713: https://github.com/RPi-Distro/python-gpiozero/issues/713
98+
.. _#675: https://github.com/RPi-Distro/python-gpiozero/issues/675
99+
.. _#722: https://github.com/RPi-Distro/python-gpiozero/issues/722
92100
.. _#470: https://github.com/RPi-Distro/python-gpiozero/issues/470
93101
.. _#481: https://github.com/RPi-Distro/python-gpiozero/issues/481
94102
.. _#366: https://github.com/RPi-Distro/python-gpiozero/issues/366

gpiozero/input_devices.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -801,9 +801,10 @@ class DistanceSensor(SmoothedInputDevice):
801801
802802
.. note::
803803
804-
For improved accuracy, use the pigpio pin driver rather than the
805-
default RPi.GPIO driver (pigpio uses DMA sampling for much more precise
806-
edge timing). See :ref:`changing-pin-factory` for further information.
804+
For improved accuracy, use the pigpio pin driver rather than the default
805+
RPi.GPIO driver (pigpio uses DMA sampling for much more precise edge
806+
timing). This is particularly relevant if you're using Pi 1 or Pi Zero.
807+
See :ref:`changing-pin-factory` for further information.
807808
808809
:type echo: int or str
809810
:param echo:

gpiozero/tones.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class to easily represent musical tones. The class can be constructed in a
3030
representation of a musical note.
3131
3232
All the following constructors are equivalent ways to construct the typical
33-
tuning note, `concert A`_ at 440Hz which is MIDI note #69):
33+
tuning note, `concert A`_ at 440Hz, which is MIDI note #69:
3434
3535
>>> from gpiozero.tones import Tone
3636
>>> Tone(440.0)

0 commit comments

Comments
 (0)