Ben Nuttall
36cbcc3b98
Correct MCP3001 and MCP3201 differentials, re: #162
2016-02-11 22:02:34 +00:00
Ben Nuttall
add95cc6c0
Merge branch 'master' of github.com:rpi-distro/python-gpiozero
2016-02-11 21:51:38 +00:00
Ben Nuttall
3f9ea91560
Add additional ADC chips, close #162
2016-02-11 21:51:25 +00:00
Dave Jones
810bb67a6d
Merge pull request #187 from waveform80/test-skip-timing-on-pypy
...
Disable timing tests on pypy
2016-02-11 21:32:25 +00:00
Dave Jones
e8dbe5e3d6
Disable timing tests on pypy
...
Doing timing tests on pypy (for blink) just doesn't work; even with a
tolerance as coarse as tens-of-milliseconds, things fail. I guess that
isn't too surprising given that, as the tests are one off things the
pypy JIT is never getting a chance to spin up and do its stuff.
2016-02-11 21:30:13 +00:00
Dave Jones
2ea7107511
Merge pull request #186 from waveform80/tests-tests-tests
...
Work on #87
2016-02-11 21:18:31 +00:00
Ben Nuttall
7e2b002d2f
Add more guidelines to contributing policy
2016-02-11 21:17:24 +00:00
Dave Jones
1f2140a9f5
Work on #87
...
Implement a test suite, including Travis-CI integration
2016-02-11 21:11:22 +00:00
Ben Nuttall
0bc16837d3
Remove google doc link
2016-02-11 00:12:22 +00:00
Ben Nuttall
29bcada1f9
Add CamJamKitRobot to changelog
2016-02-09 22:38:07 +00:00
Dave Hughes
495fb29fd3
Updated changelog for release 1.1.0
v1.1.0
2016-02-08 23:57:41 +00:00
Dave Jones
460df45660
Merge pull request #178 from waveform80/release-logs
...
Bump version and update changelog for 1.1
2016-02-08 23:39:45 +00:00
Dave Jones
b4a8273472
Bump version and update changelog for 1.1
...
Includes some last minute changes too
2016-02-08 23:37:13 +00:00
Dave Jones
6f99d616e1
Merge pull request #141 from waveform80/pins
...
Refactor pins implementation
2016-02-08 14:57:51 +00:00
Dave Jones
8e0c6e243b
Refactor low level implementation
...
This commit is a fairly major piece of work that abstracts all pin
operations (function, state, edge detection, PWM, etc.) into a base
"Pin" class which is then used by input/output/composite devices to
perform all required configuration.
The idea is to pave the way for I2C based IO extenders which can present
additional GPIO ports with similar capabilities to the Pi's "native"
GPIO ports. As a bonus it also abstracts away the reliance on the
RPi.GPIO library to allow alternative pin implementations (e.g. using
RPIO to take advantage of DMA based PWM), or even pure Python
implementations.
2016-02-08 14:54:18 +00:00
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