Ben Nuttall
4cf634a9c3
Fix typo
2015-11-22 18:25:41 +00:00
Ben Nuttall
744fb6ae19
Merge pull request #120 from lurch/patch-1
...
Update recipes
2015-11-22 18:23:04 +00:00
Andrew Scheller
f55d92e9db
Update recipes
...
Remove superfluous function from Music Box example, and add pause() to all the recipes that need it
2015-11-19 12:16:39 +00:00
Dave Jones
c432439320
Merge pull request #117 from lurch/patch-1
...
typo
2015-11-19 10:58:19 +00:00
Andrew Scheller
ccd880424b
typo
2015-11-19 02:04:15 +00:00
Dave Hughes
34822198d0
Merge branch 'master' of github.com:RPi-Distro/python-gpiozero
2015-11-16 12:46:27 +00:00
Ben Nuttall
213dc4b32b
Expand basic example in readme
2015-11-16 12:41:47 +00:00
Dave Hughes
68b80ef87d
Updated changelog for release 1.0.0
release-1.0.0
2015-11-16 12:19:01 +00:00
Dave Hughes
f1299037b5
Bump versions for release
2015-11-16 12:15:39 +00:00
Dave Jones
14200afce4
Merge pull request #113 from lurch/patch-1
...
Minor typo
2015-11-16 11:27:51 +00:00
Andrew Scheller
f1e3ee03b3
Minor typo
2015-11-16 10:34:40 +00:00
Dave Jones
4dca7c71b9
Merge pull request #112 from waveform80/packaging-jessie
...
Fix master packaging to work on jessie
2015-11-15 21:58:18 +00:00
Dave Jones
8d479c8c2b
Fix master packaging to work on jessie
...
Looks like lintian on Jessie includes some new tests. In particular,
native packages can't have a release version.
2015-11-15 21:54:55 +00:00
Dave Jones
32d5941854
Merge pull request #111 from waveform80/packaging-master
...
Fixing up the Makefile for packaging on master
2015-11-15 20:57:57 +00:00
Dave Jones
7337555b43
Fixing up the Makefile for packaging on master
...
Changelog fixed so that I can sign the resulting packages. Remove doc
package from the Makefile, and explicitly specify section for packages
in control
2015-11-15 20:56:26 +00:00
Dave Jones
6fb09e6172
Merge pull request #110 from waveform80/packaging-cleanup
...
Some fixes to the deb packaging
2015-11-15 19:50:54 +00:00
Dave Jones
6c3b58870d
Some fixes to the deb packaging
...
Get the right name in the deb rules, and remove the thermsensor deps
from control
2015-11-15 19:50:08 +00:00
Ben Nuttall
ef9e5802dc
Merge pull request #108 from waveform80/motor-pins
...
Fix #107
2015-11-15 18:22:01 +00:00
Dave Jones
c929b9a53b
Fix #107
...
Add forward_device and backward_device to Motor, left_motor and
right_motor to Robot, and ensure all CompositeDevice descendents have a
proper close() method and closed property. Also, add a few more
_check_open calls around the place to make sure GPIODeviceClosed is
properly raised in response to read and writing values.
2015-11-15 18:19:15 +00:00
Ben Nuttall
71284b233d
Fix TrafficHat numbering to match promo photos, re: #65
2015-11-15 17:37:36 +00:00
Ben Nuttall
4975e9c8fb
Update docs: add PWMLED and include value, values and source properties
2015-11-15 17:18:10 +00:00
Ben Nuttall
382d6e45fc
Reverse order of MCP300X arguments, close #92
2015-11-15 13:51:49 +00:00
Ben Nuttall
492f311cc4
Remove incomplete TemperatureSensor for 1.0 release, close #93
2015-11-15 13:00:06 +00:00
Ben Nuttall
4b7a923ae9
Merge pull request #106 from waveform80/beep-beep
...
Fix #75
2015-11-15 11:50:19 +00:00
Dave Jones
f69b6195ca
Fix #75
...
Alias blink to beep for Buzzer
2015-11-15 11:48:53 +00:00
Ben Nuttall
9804fd3ba0
Merge pull request #105 from claremacrae/patch-1
...
Correct constructor arg names in TrafficLights docs
2015-11-09 10:11:58 +00:00
Clare Macrae
b22eebfebe
Correct constructor arg names in TrafficLights
2015-11-08 22:38:21 +00:00
Dave Jones
4f71782f7d
Merge pull request #104 from waveform80/fix-bounce-time
...
Change bouncetime to bounce_time
2015-11-05 19:46:48 +00:00
Dave Jones
4615873b39
Change bouncetime to bounce_time
...
The parameter was already changed to bounce_time in the base
DigitalInputDevice class, but was overridden (incorrectly) in the
derived Button class.
2015-11-05 19:45:09 +00:00
Dave Jones
4fb5d3db04
Merge pull request #103 from waveform80/docstring-grammar
...
Fix speling and grandma mistakes
2015-11-04 15:34:01 +00:00
Dave Jones
04c30d1ad2
Fix speling and grandma mistakes
...
Several in WaitableInputDevice's attribute docstrings.
2015-11-04 15:33:20 +00:00
Ben Nuttall
e51f3e1901
Merge pull request #102 from waveform80/external-callbacks
...
Fix #100
2015-11-04 15:08:45 +00:00
Dave Jones
e6be9ab274
Fix #100
...
Permit built-in (C implemented) methods and functions to be used as
event callbacks. Given that prototype introspection is not available for
such routines, assume that they take no (mandatory) parameters.
2015-11-04 12:26:24 +00:00
Dave Jones
0c8eff6a20
Merge pull request #96 from waveform80/pwm-toggle-motor-reverse
...
Fix #91
2015-10-27 20:05:12 +00:00
Dave Jones
aa542f2fe0
Merge pull request #95 from waveform80/fix-90
...
Fix #90
2015-10-27 20:05:00 +00:00
Dave Jones
2a1ed11535
Fix #91
...
Override toggle() in PWMOutputDevice, and add reverse() to Motor and
Robot
2015-10-26 21:23:03 +00:00
Dave Jones
43fbf03dd7
Fix Py2 syntax and value super-call
2015-10-26 21:08:53 +00:00
Ben Nuttall
8c1f2d420f
Add PWM option to add-on boards with LEDs, re: #90
2015-10-25 23:33:14 +00:00
Ben Nuttall
010f1fd65c
Update LEDBoard init docs
2015-10-25 22:05:17 +00:00
Ben Nuttall
766646f772
Release v0.9.0 beta 4
v0.9.0
2015-10-25 18:56:58 +00:00
Ben Nuttall
af2bf9325c
Update docs
2015-10-25 18:54:20 +00:00
Ben Nuttall
fe16149b12
Add install dependencies to docs
2015-10-25 15:09:49 +00:00
Dave Jones
343241d6cd
Merge pull request #89 from waveform80/nice-fish-dish
...
Fix #81
2015-10-25 10:51:35 +00:00
Dave Jones
b87e2a4d53
Fix #81
...
Fix up the FishDish hierarchy so that all LEDS can be addressed as
`lights` directly.
2015-10-25 10:45:34 +00:00
Dave Jones
6de9473274
Merge pull request #88 from tjguk/robot-fix
...
Fix incorrect variable name
2015-10-24 12:16:37 +01:00
Tim Golden
3d468d764f
Fix incorrect variable name
2015-10-24 11:38:01 +01:00
Ben Nuttall
8bdbac2630
Merge pull request #86 from waveform80/moar-sources
...
Fix #76 , fix #79
2015-10-22 21:46:33 +01:00
Dave Jones
fa0a1b3cdd
Fix #76 , fix #79
...
This finishes off implementing values and source for all (current)
classes in gpiozero. I'm afraid things get rather complex in this
commit. For starters, we've now got quite a few "aggregate" classes
which necessarily don't descend from GPIODevice. To implement values and
source on these I could either repeat a helluva lot of code or ... turn
to mixin classes. Yeah, it's multiple inheritance time, baby!
Unfortunately multiple inheritance doesn't work with __slots__ but we
really ought to keep functionality that they provide us (raise
AttributeError when an unknown attribute is set). So I've implemented
this with ... erm ... metaclasses. Sorry!
2015-10-22 21:44:42 +01:00
Ben Nuttall
b0b54162cc
Merge pull request #83 from waveform80/sources-and-values
...
Fix #76
2015-10-19 11:49:07 +01:00
Dave Jones
f6294a5bf4
Fix #76
...
Makes `value` an alias of `is_active` in the base `GPIODevice`, and
`values` an infinite iterable of this value. Then adds `source` property
to `OutputDevice` allowing simple linkage of devices via iterators.
2015-10-19 11:01:09 +01:00