Dave Jones
cf18fb971e
Fix #121
...
Change parent of PWMOutputDevice to OutputDevice and implement blink to
maintain compatibility. The version of blink implemented here is
slightly extended to include functionality like Explorer HAT's "pulse".
The parameter defaults behave identically to OutputDevice's blink but
can be adjusted to have the device smoothly fade in and out.
2016-01-31 13:47:11 +00:00
Dave Jones
9dc4a2208a
Merge pull request #101 from waveform80/rest-docs
...
Generic docs need reST
2016-01-30 23:47:59 +00:00
Dave Jones
0bc62aee73
Generic docs need reST
...
Conversion of all docs to reST so that the generic docs can link easily
with the rest of the docs.
2016-01-30 23:40:12 +00:00
Dave Jones
bcb8758dcf
Merge pull request #151 from waveform80/mcp-chips
...
Tidying up bits for #150
2016-01-30 22:00:54 +00:00
Dave Jones
075841249e
Tidying up bits for #150
2016-01-30 21:58:00 +00:00
Dave Jones
33f59ec1d8
Merge pull request #150 from pcopa/master
...
Adding MCP3208/3204 12 bit ADC with 8 or 4 channels
2016-01-30 11:09:06 +00:00
pcopa
38bc27b546
Have made a simpler structure for MCP3008/3004 and MCP3208/3204.
...
The code is running on my Pi and seems to be stable
Have added MCP3301/3302/3304
have implemented the "M" bit to allow Differential mode
Have added an "absVal" for absolute values
Have added a "relVal" for relative val from 0 to 1 (same as "value")
left "value" for backwards compatabilety, but propse to delete it
shifted Rx bits for MCP330x
On branch master
Your branch is up-to-date with 'origin/master'.
Changes to be committed:
modified: gpiozero/__init__.py
modified: gpiozero/input_devices.py
Untracked files:
ZeroCombo11.py
Date: Mon Jan 18 20:25:36 2016 -0500
2016-01-29 22:03:13 -05:00
Dave Jones
15ce68d1a7
Merge pull request #139 from waveform80/exceptions-module
...
Move exceptions to their own sub-module
2016-01-07 12:04:59 +00:00
Dave Jones
ef5761d409
Merge pull request #138 from alexwlchan/awlc/fishdish
...
Fix return type of TrafficLightsBuzzer.value
2016-01-07 11:18:40 +00:00
Dave Jones
59ba7154c5
Move exceptions to their own sub-module
...
This removes the circular dependency introduced in PR#137. This also
fixes up an issue in the base meta-class which meant it wasn't working
in Python 3 (only Python 2), and adds a bit to the meta-class to allow
docstrings to be inherited (taken from the rest-docs branch).
2016-01-07 11:01:49 +00:00
Alex Chan
cca4c85afe
Fix return type of TrafficLightsBuzzer.value
...
The FishDishTuple was renamed to TrafficLightsBuzzerTuple in
commit b87e2a4 , but the `value` property wasn't modified to match.
2016-01-06 15:06:09 +00:00
Ben Nuttall
7976966d38
Merge pull request #137 from alexwlchan/awlc/missing-import
...
Add missing InputDeviceError import to devices.py
2016-01-06 15:05:10 +00:00
Alex Chan
6538d5de7b
Add missing InputDeviceError import to devices.py
2016-01-06 14:59:10 +00:00
Ben Nuttall
e172caf2cb
Merge branch 'master' of github.com:rpi-distro/python-gpiozero
2016-01-04 14:37:04 +00:00
Ben Nuttall
61f4b4919b
Correct RGBLED recipe
2016-01-04 14:36:55 +00:00
Ben Nuttall
dfbd06daa1
Merge pull request #127 from lurch/patch-1
...
Fix upgrade instructions
2015-12-04 22:06:34 +00:00
Andrew Scheller
21f542cb8d
Fix upgrade instructions
...
'apt-get upgrade' always upgrades all packages, to upgrade a single package we need to use 'apt-get install'
2015-12-01 10:19:57 +00:00
Ben Nuttall
942859b5a2
Merge branch 'master' of github.com:rpi-distro/python-gpiozero
2015-11-28 02:58:46 +00:00
Ben Nuttall
81a782b5f3
Add apt install instructions
2015-11-28 02:58:37 +00:00
Ben Nuttall
dbb95b5e37
Fix typo
2015-11-23 11:32:35 +00:00
Ben Nuttall
f1d4ca0c05
Add LineSensor
2015-11-23 08:36:14 +00:00
Ben Nuttall
cfe200af35
Add CamJamKitRobot interface
2015-11-22 18:35:11 +00:00
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