.. currentmodule:: gpiozero
- Fixed hardware SPI support which Dave broke in 1.3.0. Sorry!
- Some minor docs changes
- Added :class:`ButtonBoard` for reading multiple buttons in a single class (#340)
- Added :class:`Servo` and :class:`AngularServo` classes for controlling simple servo motors (#248)
- Lots of work on supporting easier use of internal and third-party pin implementations (#359)
- :class:`Robot` now has a proper :attr:`~Robot.value` attribute (#305)
- Added :class:`CPUTemperature` as another demo of "internal" devices (#294)
- A temporary work-around for an issue with :class:`DistanceSensor` was included but a full fix is in the works (#385)
- More work on the documentation (#320, #295, #289, etc.)
Not quite as much as we'd hoped to get done this time, but we're rushing to make a Raspbian freeze. As always, thanks to the community - your suggestions and PRs have been brilliant and even if we don't take stuff exactly as is, it's always great to see your ideas. Onto 1.4!
- Added :class:`Energenie` class for controlling Energenie plugs (#69)
- Added :class:`LineSensor` class for single line-sensors (#109)
- Added :class:`DistanceSensor` class for HC-SR04 ultra-sonic sensors (#114)
- Added :class:`SnowPi` class for the Ryanteck Snow-pi board (#130)
- Added :attr:`~Button.when_held` (and related properties) to :class:`Button` (#115)
- Fixed issues with installing GPIO Zero for python 3 on Raspbian Wheezy releases (#140)
- Added support for lots of ADC chips (MCP3xxx family) (#162) - many thanks to pcopa and lurch!
- Added support for pigpiod as a pin implementation with :class:`~gpiozero.pins.pigpiod.PiGPIOPin` (#180)
- Many refinements to the base classes mean more consistency in composite devices and several bugs squashed (#164, #175, #182, #189, #193, #229)
- GPIO Zero is now aware of what sort of Pi it's running on via :func:`pi_info` and has a fairly extensive database of Pi information which it uses to determine when users request impossible things (like pull-down on a pin with a physical pull-up resistor) (#222)
- The source/values system was enhanced to ensure normal usage doesn't stress the CPU and lots of utilities were added (#181, #251)
And I'll just add a note of thanks to the many people in the community who contributed to this release: we've had some great PRs, suggestions, and bug reports in this version. Of particular note:
- Schelto van Doorn was instrumental in adding support for numerous ADC chips
- Alex Eames generously donated a RasPiO Analog board which was extremely useful in developing the software SPI interface (and testing the ADC support)
- Andrew Scheller squashed several dozen bugs (usually a day or so after Dave had introduced them ;)
As always, many thanks to the whole community - we look forward to hearing from you more in 1.3!
- Documentation converted to reST and expanded to include generic classes and several more recipes (#80, #82, #101, #119, #135, #168)
- New :class:`CamJamKitRobot` class with the pre-defined motor pins for the new CamJam EduKit
- New :class:`LEDBarGraph` class (many thanks to Martin O'Hanlon!) (#126, #176)
- New :class:`Pin` implementation abstracts out the concept of a GPIO pin paving the way for alternate library support and IO extenders in future (#141)
- New :meth:`LEDBoard.blink` method which works properly even when background
is set to
False
(#94, #161) - New :meth:`RGBLED.blink` method which implements (rudimentary) color fading too! (#135, #174)
- New
initial_value
attribute on :class:`OutputDevice` ensures consistent behaviour on construction (#118) - New
active_high
attribute on :class:`PWMOutputDevice` and :class:`RGBLED` allows use of common anode devices (#143, #154) - Loads of new ADC chips supported (many thanks to GitHub user pcopa!) (#150)
- Debian packaging added (#44)
- :class:`PWMLED` class added (#58)
TemperatureSensor
removed pending further work (#93)- :meth:`Buzzer.beep` alias method added (#75)
- :class:`Motor` PWM devices exposed, and :class:`Robot` motor devices exposed (#107)
Fourth public beta
- Added source and values properties to all relevant classes (#76)
- Fix names of parameters in :class:`Motor` constructor (#79)
- Added wrappers for LED groups on add-on boards (#81)
Third public beta
- Added generic :class:`AnalogInputDevice` class along with specific classes for the :class:`MCP3008` and :class:`MCP3004` (#41)
- Fixed :meth:`DigitalOutputDevice.blink` (#57)
Second public beta
First public beta
Initial release