Commit Graph

42 Commits

Author SHA1 Message Date
Dave Jones
db4c93940e Get the version right... 2017-07-16 23:10:52 +01:00
Dave Jones
f288993437 Write changelog and bump release for 1.4 2017-07-16 20:45:08 +01:00
Dave Jones
a980f3d14b Add py3.6 to supported/tested versions 2017-06-25 22:14:42 +01:00
Dave Jones
eb175cc129 Fix pinout so it "works" on non-pi platforms
Or doesn't fail in such a brutal manner, anyway...
2017-06-23 18:55:50 +01:00
Dave Jones
ffe12362f5 Fix #521
Rename pigpiod module to pigpio
2017-06-21 15:39:50 +01:00
Dave Jones
ab73e857fd Add compatibility names for pin factories 2017-06-19 22:21:50 +01:00
Dave Jones
2495939603 Fix real pin tests ... and some other bits
The real pin tests were broken by the new factory stuff. This commit
fixes them up, and fixes up a few other bits besides (like why the
pigpio PWM tests were failing, why RPi.GPIO sometimes segfaulted on PWM
tests, etc.)

It also causes the real pin tests to run against MockPin (thanks to
@lurch for the suggestion!). This required some tweaks to MockPin to
make it emulate physically pulled up pins itself (which in turn
necessitated changing quite a few pin numbers in the main test suite
because we were using 2 and 3 everywhere), and to allow one MockPin to
drive another. Anyway, everything's working now including all the tests
on a Pi (haven't tried RPIO yet, but only because I'm on a Pi3 -
everything else works with overall coverage of 88% :).
2017-06-16 13:28:55 +01:00
Dave Jones
ba1a7e6497 Add configuration of mock factory via env-vars
Also tidied up some docs
2017-06-16 13:28:55 +01:00
Dave Jones
ce6217c14f Fix #459 - properly support remote SPI with pigpio
Sorry! Dave's messing around with the pin implementations again.
Hopefully the last time. The pin_factory is now really a factory object
which can be asked to produce individual pins or pin-based interfaces
like SPI (which can be supported properly via pigpio).
2017-06-16 13:28:55 +01:00
Dave Jones
900affbf7f Merge remote-tracking branch 'upstream/1.3.2-updates'
Conflicts:
	docs/changelog.rst
	gpiozero/pins/data.py
2017-06-13 15:48:02 +01:00
Ben Nuttall
ee0e4e2f33 Merge 2017-03-06 10:35:22 +00:00
Ben Nuttall
2e7543d315 Release v1.3.2 2017-03-03 13:18:36 +00:00
Ben Nuttall
ad7bf4c66a Merge tag 'v1.3.1.post1'
Release v1.3.1.post1
2017-02-08 14:04:08 +00:00
Ben Nuttall
218ca4b527 Include licence in sdist. 2017-02-08 13:54:41 +00:00
Ben Nuttall
5a1ee73164 Tidy up readme, update description and add contributors 2016-12-08 17:25:56 +00:00
Ben Nuttall
02938b48ec Tidy up pinout tool PR 2016-12-05 21:03:06 +00:00
Thijs Triemstra
0c9e4a9575 Use Python syntax highlighting (#453)
* Use Python syntax highlighting

* Use code directive instead

* use python syntax highlighting in the docs

* update Programming Language classifers for supported Python versions

* use %s instead
2016-09-21 09:56:15 +01:00
Dave Jones
0eb8cd2190 Bump version for bugfix release 2016-08-31 23:30:53 +01:00
Dave Jones
6a56fb0013 Bump version to 1.3 for release 2016-08-31 00:09:33 +01:00
Dave Jones
1ec2b763f5 Fix #359, close #396 2016-08-14 12:42:25 +01:00
Dave Jones
25db608dad Bump version for release 2016-04-10 21:01:41 +01:00
Dave Jones
759a6a58e6 Fix #140, fix #69, fix #185
This PR adds a software SPI implementation. Firstly this removes the
absolute necessity for spidev (#140), which also means when it's not
present things still work (effectively fixes #185), and also enables any
four pins to be used for SPI devices (which don't require the hardware
implementation).

The software implementation is simplistic but still supports clock
polarity and phase, select-high, and variable bits per word. However it
doesn't allow precise speeds to be implemented because it just wibbles
the clock as fast as it can (which being pure Python isn't actually that
fast).

Finally, because this PR involves creating a framework for "shared"
devices (like SPI devices with multiple channels), it made sense to bung
Energenie (#69) in as wells as this is a really simple shared device.
2016-04-01 12:57:17 +01:00
Dave Jones
1f2140a9f5 Work on #87
Implement a test suite, including Travis-CI integration
2016-02-11 21:11:22 +00:00
Dave Jones
b4a8273472 Bump version and update changelog for 1.1
Includes some last minute changes too
2016-02-08 23:37:13 +00:00
Dave Jones
8e0c6e243b Refactor low level implementation
This commit is a fairly major piece of work that abstracts all pin
operations (function, state, edge detection, PWM, etc.) into a base
"Pin" class which is then used by input/output/composite devices to
perform all required configuration.

The idea is to pave the way for I2C based IO extenders which can present
additional GPIO ports with similar capabilities to the Pi's "native"
GPIO ports. As a bonus it also abstracts away the reliance on the
RPi.GPIO library to allow alternative pin implementations (e.g. using
RPIO to take advantage of DMA based PWM), or even pure Python
implementations.
2016-02-08 14:54:18 +00:00
Ben Nuttall
95a595596e Beta -> Stable 2016-02-07 21:36:16 +00:00
Dave Hughes
f1299037b5 Bump versions for release 2015-11-16 12:15:39 +00:00
Ben Nuttall
492f311cc4 Remove incomplete TemperatureSensor for 1.0 release, close #93 2015-11-15 13:00:06 +00:00
Ben Nuttall
766646f772 Release v0.9.0 beta 4 2015-10-25 18:56:58 +00:00
Ben Nuttall
fcc7c47fe3 Release v0.8.0 beta 3 2015-10-16 11:40:42 +01:00
Dave Jones
c8105c8dc3 Fix #44
Implement native Debian packaging (control files are part of the source
repo) with Makefile to simplify the release procedure.
2015-10-10 15:54:08 +01:00
Ben Nuttall
17c93d1e45 Release v0.7.0 beta 2 2015-10-09 12:30:13 +01:00
Ben Nuttall
fbede611df Add MCP3008 and potentiometer example 2015-09-30 19:02:12 +01:00
Ben Nuttall
3f960f6da3 Update docstrings and add initial set of documentation 2015-09-28 11:11:00 +01:00
Ben Nuttall
cfed671972 Add docstrings, close #26 2015-09-24 11:39:50 +01:00
Ben Nuttall
4a7d60f6a3 Release v0.4.0 2015-09-23 11:20:43 +01:00
Ben Nuttall
8fe2a9d8ca Add missing comma 2015-09-22 18:23:56 +01:00
Ben Nuttall
b878905f4d Version bump 2015-09-22 18:07:32 +01:00
Ben Nuttall
65d363b7ed Tidy up 2015-09-22 17:52:19 +01:00
Ben Nuttall
1bc5a5fa92 Release v0.3.0 2015-09-22 16:34:25 +01:00
Ben Nuttall
a07f89c561 Release v0.2.0 2015-09-21 11:20:21 +01:00
Ben Nuttall
a8b93cf97f Add setup.py and distribution basics 2015-09-15 17:53:50 +01:00