Commit Graph

182 Commits

Author SHA1 Message Date
Dave Jones
f8f810a912 Add a little script to generate class graphs
Heavily based on @lurch's efforts in #469 but with some additional
filtering capabilities.
2017-06-22 13:52:00 +01:00
Dave Jones
576fced6c4 Update all hierarchy charts in the docs
Added notes on how the abstracts are represented, ensured all the class
hierarchies were up to date, and changed the orientation so the classes
are actually readable in the big chart.
2017-06-21 17:01:13 +01:00
Dave Jones
412ca72066 First stab at #451
This is almost a straight copy'n'paste of picamera's development chapter
with a few minor changes to make it read sensibly for GPIO Zero; it
needs plenty more work to fulfil the goals of #451 but hopefully this'll
act as a reasonable base for people to work on.
2017-06-21 16:12:25 +01:00
Dave Jones
a0e7b63b8f Fix docs for #521 2017-06-21 16:08:21 +01:00
Dave Jones
945bea4e54 Added keyword args to MockFactory.pin
And a few other last minute fixes
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
b0c807da19 More tidying up
Ensure LEDCollection cleans up upon construction failure, rename some
internals to be a bit more obvious, rename PinGPIOUnsupported to
PinUnsupported, and some other stuff I've forgotten!
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
Dave Jones
32d6db4dfe Merge pull request #504 from RPi-Distro/pinout-cli-tool
Add pinout cli tool, close #444, close #497
2017-06-13 13:22:52 +01:00
Ben Nuttall
1951b0f234 Add changelog entry for 1.3.2 release 2017-03-13 13:20:37 +00: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
ed12ac1994 Add bee-bot / turtle robot example, close #443 2017-01-08 15:58:50 +00:00
Ben Nuttall
c586fe07f5 Update music box recipe 2017-01-08 11:36:43 +00:00
Ben Nuttall
06e534b537 Update source-tool-value-processor image 2017-01-04 16:35:45 +00:00
Ben Nuttall
30fae16f4f Merge pull request #484 from RPi-Distro/sourcevalues-docs
Add source/values docs page, close #448
2017-01-04 16:11:56 +00:00
Andrew Scheller
fc54667f34 More small tidyups
- switch to using sys.exit instead of exit
 - always exit with error-code 1
 - don't bother testing error-codes
 - documentation wording tweak
2016-12-18 03:33:50 +00:00
Ben Nuttall
ea4ed9ad8c Update contributing guidelines 2016-12-08 17:26:09 +00:00
Ben Nuttall
a1b3847cab Grammar 2016-12-06 13:36:59 +00:00
Ben Nuttall
02938b48ec Tidy up pinout tool PR 2016-12-05 21:03:06 +00:00
Ben Nuttall
6e6c80a9fa Merge branch 'master' of https://github.com/stewartadcock/python-gpiozero into stewartadcock-master 2016-12-05 20:56:25 +00:00
Ben Nuttall
7006366243 Update sourcevalues docs as suggested in lurch's review 2016-12-02 00:02:24 +00:00
Stewart
5f47bcd379 Add terse documentation for pinout tool 2016-11-07 22:34:21 +00:00
Andrew Scheller
cbdd9b6c5b Correct documention of LEDBarGraph's init-params 2016-10-18 10:56:10 +01:00
Ben Nuttall
b0b0e379a6 Add source/values docs page, close #448 2016-10-09 21:19:27 +01:00
Dave Jones
9cbcd079e6 Merge pull request #460 from lurch/alternating_values
Add a new alternating_values SourceTool
2016-09-21 19:10:54 +01:00
Andrew Scheller
9fbed050ce Add a new alternating_values SourceTool 2016-09-21 16:16:42 +01: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
Ben Nuttall
173a6ce2f7 Merge pull request #440 from lurch/update_servo_docs
Add Servo to Composed Devices image
2016-09-19 14:11:09 +01:00
Andrew Scheller
c35741c793 Add support for the Pi-Stop Traffic-light board 2016-09-19 01:11:29 +01:00
Andrew Scheller
ae24304f8f Add Servo to Composed Devices image 2016-09-18 16:19:19 +01:00
Dave Jones
322ec1316a Merge pull request #431 from waveform80/pinout
Fix #354
2016-09-13 18:48:11 +01:00
Dave Jones
27c0703043 Fix #354
Actually, "fix" doesn't really do this justice. This is closer to "nukes
from orbit" ...
2016-09-13 17:37:17 +01:00
Andrew Scheller
e22b038bfd Add missing init-params to Input Devices documentation 2016-09-11 14:35:37 +01:00
Dave Jones
737a739cd6 Fix #421
Added SPI tests, simplified the shared SPI software bus implementation,
and fixed several protocol errors in our MCP3xxx classes (the x2 and x1
protocols were wrong)
2016-09-08 22:24:06 +01:00
Dave Jones
b6fb8bf748 Merge pull request #281 from lurch/adc_tweaks
Tweak the ADC classes to make the docs neater and more accurate
2016-09-08 15:48:08 +01:00
Dave Jones
0eb8cd2190 Bump version for bugfix release 2016-08-31 23:30:53 +01:00
Andrew Scheller
588cecb03f typo 2016-08-31 11:01:06 +01:00
Dave Jones
e9ff6fce3c Revert "Fix #295"
This reverts commit 38541889ca.
2016-08-31 00:24:29 +01:00
Dave Jones
6a56fb0013 Bump version to 1.3 for release 2016-08-31 00:09:33 +01:00
Dave Jones
8c7712c3aa Quick addition of ButtonBoard docs
Nothing special (no recipes yet); just add the stuff necessary to the
reST to pull it from source and add it to the diagrams
2016-08-30 23:23:11 +01:00
Dave Jones
02f7d20bc3 Fix #248
Add Servo and AngularServo implementation along with docs and tests.
This is a deliberately minimal implementation designed to be added to as
we agree on new extensions (better than making an all-singing,
all-dancing version in which I get things wrong and then wind up making
backward incompatible changes to get it right :)
2016-08-30 21:33:28 +01:00
Dave Jones
6f67a973cf Fix all the stuff you broke last night...
In particular the `pi_revision` thing in PiGPIOPin, all the stuff @lurch
picked up in `pins/data.py` (thank goodness *someone's* watching!), and
make all those links pointing to "Notes" point somewhere useful like
"Pin Numbering"...
2016-08-30 15:43:57 +01:00
Dave Jones
04075380e1 Fix #294
Still need to sort out threads for the internal devices to continually
poll their values so that the wait-states work properly
2016-08-29 23:53:09 +01:00
Dave Jones
38541889ca Fix #295
At least, I *think* this should fix this. It does locally, but we'll
have to see what happens when I push it to RTD!
2016-08-29 22:44:27 +01:00
Dave Jones
07c95598d1 Fix #289
Tweak the second keyboard robot recipe so it detects keyboards and
doesn't throw exceptions on unknown keys. Also add a note to the recipe
that it won't work over remote connections like SSH.
2016-08-29 22:18:04 +01:00
Dave Jones
32803a7988 Convert recipe examples to includes
Makes it much easier to test things - no copying'n'pasting just run the
examples straight from the dir (after wiring stuff up)
2016-08-29 20:41:11 +01:00
Dave Jones
6cc308e44a Fix #354, fix #389
Overhaul the pi_info system:

Pin factories are now capable of generating pi_info themselves (although
currently they all just look up the revision and call pi_info with a
specific one).

PiGPIOPin will now return pi_info for the remote pi which can be
specified by parameter or implicitly by the environment vars.

Overvolted Pis should work properly no matter what (some argument over
whether the revision 7 or 8 chars in this case; both should work). Added
some minor tweaks for the new camera-capable Pi Zero

Finally, added a bunch of tests for pins.data
2016-08-29 11:48:23 +01:00
Dave Jones
335ccdfb60 Fix #320
Yup, dirty horrid hack but the result is okay.
2016-08-14 22:55:34 +01:00