Dave Jones
c7ee499989
Merge pull request #177 from waveform80/misc-11
...
Miscellaneous minor changes for 1.1
2016-02-08 13:37:14 +00:00
Dave Jones
0c2f750877
Merge pull request #176 from waveform80/led-bargraph
...
Merge-clean update of PR #126
2016-02-08 13:15:07 +00:00
Dave Jones
55e99f379a
Merge-clean update of PR #126
...
This is an updated cherry-pick of Martin O'Hanlon's LEDBarGraph class.
2016-02-08 12:54:55 +00:00
Dave Jones
006c10cce0
Miscellaneous minor changes for 1.1
2016-02-08 12:01:42 +00:00
Dave Jones
a498d29bb9
Merge pull request #174 from waveform80/rgbled-blink
...
Fix #135
2016-02-08 00:34:13 +00:00
Dave Jones
9871ac3dca
Fix #135
2016-02-08 00:33:05 +00:00
Dave Jones
19c19f6ff5
Merge pull request #173 from waveform80/blink-device-not-led
...
Fix #167
2016-02-07 22:52:49 +00:00
Dave Jones
f0ea1627f7
Fix #167
2016-02-07 22:51:41 +00:00
Ben Nuttall
95a595596e
Beta -> Stable
2016-02-07 21:36:16 +00:00
Dave Jones
3f62bc848f
Merge pull request #166 from lurch/patch-2
...
Minor tweak to PWMOutputDevice.is_active
2016-02-07 20:32:06 +00:00
Dave Jones
cc9d3b0c6b
Merge pull request #172 from waveform80/led-board-pwm-blink
...
Re: #94 and #161
2016-02-07 20:30:36 +00:00
Dave Jones
0c1b6d109e
Re: #94 and #161
...
Adds fade-in/out parameters to LEDBoard's blink() method.
2016-02-07 20:27:09 +00:00
Dave Jones
90a4d5f2bf
Merge pull request #161 from lurch/LEDBoard_background_blinking
...
Add a blink thread to LEDBoard
2016-02-07 20:16:35 +00:00
Dave Jones
d4c54dadb6
Merge pull request #171 from waveform80/camjam-robot-docs
...
Fix #168
2016-02-07 19:56:01 +00:00
Dave Jones
7099b56974
Fix #168
2016-02-07 19:54:39 +00:00
Dave Jones
c5c80afe50
Merge pull request #170 from waveform80/gen-recipes
...
Fix #119
2016-02-07 19:46:33 +00:00
Dave Jones
183b854717
Fix #119
...
Add a bunch of code snippets demonstrating generators to the recipes
chapter, including a temperature recipe for the MCP3008.
2016-02-07 19:45:52 +00:00
Andrew Scheller
29ca48d2a7
Minor tweak to PWMOutputDevice.is_active
...
...so that its implementation is more consistent with the other is_active methods
2016-02-03 03:34:12 +00:00
Andrew Scheller
c133110ab9
Add PWMOutputDevice.pulse method
...
...which simply calls blink with different default arguments
2016-02-03 01:01:54 +00:00
Dave Jones
4fc0673233
Merge pull request #163 from lurch/patch-1
...
Move LED example from GPIO2 to GPIO17
2016-02-02 21:16:34 +00:00
Andrew Scheller
26337bedd7
Move LED example from GPIO2 to GPIO17
...
See #116 and #153
2016-02-01 12:00:22 +00:00
Andrew Scheller
3ed1ab8446
Add a blink thread to LEDBoard
...
Fixes #94
2016-02-01 04:49:54 +00:00
Dave Jones
cf75e8516a
Merge pull request #159 from waveform80/fixup-prototypes
...
Fix prototypes in docs
2016-01-31 20:09:03 +00:00
Dave Jones
e52ad37200
Fix prototypes in docs
...
The prototypes in the docs are rigged to make out the first parameter as
mandatory (as it effectively is); however this does mean you've got to
remember to update the prototype when you modify it in the code! :)
2016-01-31 20:07:34 +00:00
Dave Jones
d77ee6e71f
Merge pull request #158 from waveform80/fixup-rest
...
Re-apply #120 and #117 to rest-docs
2016-01-31 19:30:25 +00:00
Dave Jones
44e943b322
Re-apply #120 and #117 to rest-docs
...
Knew I'd missed some patches to the docs! This re-applies the
aforementioned doc patches and also fixes the last RGBLED example (which
was subtly incorrect in the original docs)
2016-01-31 19:28:35 +00:00
Dave Jones
96a9112884
Merge pull request #157 from waveform80/output-initial-value
...
Fix #118
2016-01-31 18:05:51 +00:00
Dave Jones
5791d50ded
Merge pull request #156 from lurch/patch-1
...
Typo fix
2016-01-31 18:03:04 +00:00
Dave Jones
8b21599257
Fix #118
...
... and fix up active_high values while we're at it ...
2016-01-31 17:50:02 +00:00
Andrew Scheller
03e2f8779f
Typo fix
2016-01-31 17:10:58 +00:00
Dave Jones
3d30d17f70
Merge pull request #155 from waveform80/minor-changes
...
Minor changes
2016-01-31 16:26:38 +00:00
Dave Jones
d5226d1fee
Minor changes
2016-01-31 16:25:35 +00:00
Dave Jones
80f0597345
Merge pull request #154 from waveform80/pwm-active-high
...
Fix #143
2016-01-31 16:18:15 +00:00
Dave Jones
de5dff3c1d
Fix #143
...
Add active_high parameter to PWMOutputDevice (there's no reason PWM
devices can't be wired active low after all)
2016-01-31 16:17:43 +00:00
Dave Jones
741a9b48ed
Merge pull request #153 from lurch/patch-1
...
Move LED example from GPIO2 to GPIO17
2016-01-31 16:17:23 +00:00
Andrew Scheller
7ea312acb9
Move LED example from GPIO2 to GPIO17
2016-01-31 15:54:57 +00:00
Dave Jones
792bed9b57
Merge pull request #152 from waveform80/pwm-heritage
...
Fix #121
2016-01-31 13:48:07 +00:00
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