Dave Jones
3ac838f85f
Raise warning when spidev missing for hardware SPI
2016-08-30 23:48:56 +01:00
Dave Jones
15b6ea25b0
Merge pull request #418 from waveform80/fix-distance-sensor
...
Patch for #385
2016-08-30 23:38:25 +01:00
Dave Jones
ab61fa9b6d
Patch for #385
...
DistanceSensor currently doesn't work well in Python 2 due to large lags
in thread event primitives. The "full" fix will require enhancing the
pins API, so this is a temporary patch to provide a fix (at least under
RPi.GPIO) until then.
2016-08-30 23:31:33 +01:00
Dave Jones
6b7e49f0b3
Merge pull request #417 from waveform80/button-board-docs
...
Quick addition of ButtonBoard docs
2016-08-30 23:27:15 +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
9272b28b2e
Merge pull request #370 from lurch/ButtonBoard
...
Initial version of ButtonBoard for testing...
2016-08-30 23:19:00 +01:00
Dave Jones
c343c73794
Merge pull request #416 from waveform80/servo
...
Fix #248
2016-08-30 22:23:15 +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
20df5e4249
Merge pull request #415 from waveform80/fix-last-night
...
Fix all the stuff you broke last night...
2016-08-30 16:02:22 +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
bb8ea5249d
Merge pull request #414 from waveform80/cpu-temperature
...
Fix #294
2016-08-29 23:57:13 +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
763b8f79a0
Merge pull request #413 from waveform80/fix-privacy-breach
...
Fix #295
2016-08-29 22:49:07 +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
bc7588b96f
Merge pull request #412 from waveform80/remote-keyboard-robots
...
Fix #289
2016-08-29 22:23:46 +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
c51f447800
Merge pull request #411 from waveform80/include-examples
...
Convert recipe examples to includes
2016-08-29 22:08:30 +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
97de7e973e
Merge pull request #410 from waveform80/remote-pi-info
...
Fix #354 , fix #389
2016-08-29 16:02:55 +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
98aeec83e4
Merge pull request #405 from RPi-Distro/lurch-patch-2
...
Correct number of ComputeModule USB ports (part 2)
2016-08-18 13:13:31 +01:00
Andrew Scheller
37b91ced74
Correct number of ComputeModule USB ports (part 2)
...
Correct associated documentation
2016-08-18 00:22:07 +01:00
Dave Jones
d47f02e2b5
Merge pull request #404 from RPi-Distro/lurch-patch-1
...
Correct number of ComputeModule USB ports
2016-08-15 00:06:28 +01:00
Andrew Scheller
65285d1b33
Correct number of ComputeModule USB ports
...
Fixes #384
2016-08-14 23:43:59 +01:00
Dave Jones
9804e653b6
Merge pull request #403 from waveform80/fix-contributing-link
...
Fix #320
2016-08-14 23:17:40 +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
0c51976c93
Merge pull request #352 from lurch/patch-1
...
Update sourcetools examples
2016-08-14 20:28:55 +01:00
Dave Jones
57c8a3b4dd
Merge pull request #372 from lurch/amber_gambler
...
Add 'yellow' as an alias of 'amber' for TrafficLights
2016-08-14 20:27:41 +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
64cde7f4b1
Merge pull request #400 from waveform80/pin-entry-points
...
Fix #359 , close #396
2016-08-14 13:58:35 +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
Dave Jones
63c9d49e60
Merge pull request #399 from waveform80/rpigpio-recommended
...
Update debian/control as suggested in #359
2016-08-14 13:58:04 +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
Dave Jones
1ec2b763f5
Fix #359 , close #396
2016-08-14 12:42:25 +01:00
Dave Jones
9c08c77ae8
Update debian/control as suggested in #359
2016-08-14 10:55:11 +01:00
Dave Jones
9e99a445eb
Merge pull request #395 from dglaude/pigpio-env
...
Use PIGPIO_ADDR and PIGPIO_PORT environment variable if they exist to…
2016-08-14 10:24:40 +01:00
BuildTools
76ab6badd2
Applying suggestion by lurch in https://github.com/RPi-Distro/python-gpiozero/pull/395 comment.
2016-07-27 00:17:20 +02:00
BuildTools
23fabb68ce
Use PIGPIO_ADDR and PIGPIO_PORT environment variable if they exist to configure PiGPIO, otherwise it use the default value 'localhost' and 8888. This is the same behaviour as the pigpio library for initialisation.
2016-07-26 22:45:38 +02:00
Andrew Scheller
23e153df50
Correct manufacturer of 0x14 ComputeModule
2016-06-19 11:30:58 +01:00
ubuntu
8d457df2e2
Document how to get the gpiozero version number
2016-06-18 20:44:46 +01:00
Andrew Scheller
74a0871353
Doc typos
2016-06-14 23:18:13 +01:00
Andrew Scheller
f5c2d3a889
Doc typo
2016-06-14 16:13:35 +01:00
Ben Nuttall
9c15afe77e
Use robot.forward() not robot.left() in examples
2016-06-12 22:09:55 +01:00
Andrew Scheller
c64e541167
Update sourcetools examples
...
Explicitly set blue.source_delay to the same value as red.source_delay
2016-06-11 01:56:50 +01:00
Ben Nuttall
9d7c689516
Merge pull request #376 from RPi-Distro/revert-374-test_rgbled_tweaks
...
Revert "Tweak RGBLED tests - increases coverage"
2016-06-10 13:03:04 +01:00
Ben Nuttall
eb5fd40463
Revert "Tweak RGBLED tests - increases coverage"
2016-06-10 13:02:47 +01:00
Andrew Scheller
f96ab609e2
TrafficLights.value also reports 'yellow' instead of 'amber' when appropriate
2016-06-10 12:44:39 +01:00
Andrew Scheller
38262a125f
Add 'yellow' as an alias of 'amber' for TrafficLights
...
Fixes #345
2016-06-10 12:43:22 +01:00
Andrew Scheller
145aa801cd
Merge pull request #375 from RPi-Distro/revert-374-test_rgbled_tweaks
...
Revert "Tweak RGBLED tests - increases coverage"
2016-06-10 12:32:56 +01:00