Commit Graph

207 Commits

Author SHA1 Message Date
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
Dave Jones
8a04f0f300 Merge pull request #383 from SteveAmor/document_version_query
Document how to get the gpiozero version number
2016-08-14 14:02:26 +01:00
Dave Jones
c03f7a2b7e Merge pull request #401 from waveform80/which-led-is-which
Annotate recipe with LED sys/class names
2016-08-14 13:58:21 +01:00
Andrew Scheller
ab8dcf8794 Add missing closing-bracket 2016-08-14 13:31:05 +01:00
Dave Jones
d401a72682 Annotate recipe with LED sys/class names 2016-08-14 13:13:54 +01:00
ubuntu
8d457df2e2 Document how to get the gpiozero version number 2016-06-18 20:44:46 +01:00
Ben Nuttall
2587612403 Replace tab with spaces 2016-06-03 14:40:02 +01:00
Ben Nuttall
963b962867 Add Shutdown button example to recipes, close #325 2016-05-29 20:19:09 +01:00
Andrew Scheller
ffc07950e1 Typo 2016-05-28 13:57:37 +01:00
Ben Nuttall
42f9d4f3b8 Merge pull request #290 from lurch/patch-3
Update Recipes to use the generic Robot class instead of the specific…
2016-05-28 12:39:47 +01:00
Ben Nuttall
b581719c8c Rename RGB -> Full Color LED in recipes 2016-05-28 00:45:13 +01:00
Ben Nuttall
25ccf9389c Add LEDBoard and LEDBarGraph recipes 2016-05-28 00:43:12 +01:00
Andrew Scheller
a1ec9c67e5 Tweak the ADC classes to make the docs neater and more accurate 2016-05-27 11:36:30 +01:00
Andrew Scheller
fa440bbe83 Revert accidental typo 2016-05-27 00:37:16 +01:00
Andrew Scheller
bd219d9e59 Fix Travis-build Recipe
Swap tabs to spaces, and use gpiozero.tools.negated
2016-05-27 00:33:45 +01:00
Ben Nuttall
2bd1cbc749 Fix typo in recipes 2016-05-27 00:29:57 +01:00
Ben Nuttall
466ff341cb Add to button recipes 2016-05-27 00:25:31 +01:00
Ben Nuttall
35d1de644b Add PWMLED recipes 2016-05-27 00:01:48 +01:00
Ben Nuttall
0a5499dfbe Add recipe for GPIO Zero Travis build LED indicator, close #191 2016-05-26 23:52:51 +01:00
Andrew Scheller
3a7acbf89d Add LedBorg as a subclass of RGBLED 2016-05-26 20:27:16 +01:00
Ben Nuttall
9278a2f857 Add hold/held properties & methods to Button, close #287 2016-05-26 17:06:05 +01:00
Ben Nuttall
4460f8047f Correct Motor usage in recipe
Thanks to Antonio Spadaro for pointing this out
2016-05-10 23:07:00 +01:00
Andrew Scheller
c9461c50d3 Add a pwm option to the RGBLED and Motor constructors
...along with the other necessary changes required, to allow them to
optionally be used with non-PWM-capable pins
2016-05-08 18:23:30 +01:00
Dave Jones
1575863ba5 Merge pull request #312 from lurch/rgbled_pulse
Add RGBLED.pulse method
2016-05-08 11:53:14 +01:00
Dave Jones
4e0aa9403f Merge pull request #298 from lurch/new_source_tools
New source tools: booleanized, pre_periodic_filtered & post_periodic_filtered
2016-05-08 11:01:01 +01:00
Andrew Scheller
18bb3f559e Add RGBLED.pulse method
Also add timing tests to all the blink unit-tests
2016-05-04 11:14:36 +01:00