Commit Graph

543 Commits

Author SHA1 Message Date
Andrew Scheller
0c2a13367d Tweak test for better coverage report 2016-05-09 00:18:10 +01:00
Andrew Scheller
c9461c50d3 Add a pwm option to the RGBLED and Motor constructors
...along with the other necessary changes required, to allow them to
optionally be used with non-PWM-capable pins
2016-05-08 18:23:30 +01:00
Dave Jones
1b7dad5fa4 Merge pull request #313 from lurch/patch-5
Add active_high parameter to LEDBarGraph's constructor
2016-05-08 11:56:51 +01:00
Dave Jones
1575863ba5 Merge pull request #312 from lurch/rgbled_pulse
Add RGBLED.pulse method
2016-05-08 11:53:14 +01:00
Dave Jones
4ff0f3f043 Merge pull request #311 from lurch/patch-4
Typo in SPISoftwareBus._shared_key
2016-05-08 11:42:59 +01:00
Dave Jones
39573a3093 Merge pull request #308 from SteveAmor/master
Corrected value of capacitor used in LightSensor
2016-05-08 11:40:13 +01:00
Dave Jones
2f41335dcd Merge pull request #316 from RPi-Distro/revert-301-patch-1
Revert "Update output_devices.py"
2016-05-08 11:39:37 +01:00
Dave Jones
97e873dd2e Revert "Update output_devices.py" 2016-05-08 11:39:25 +01:00
Dave Jones
714638a195 Merge pull request #301 from goloplo/patch-1
Update output_devices.py
2016-05-08 11:38:26 +01:00
Dave Jones
afc847c159 Merge pull request #307 from lurch/extra_board_tests
Add more unit tests, fix a few small bugs
2016-05-08 11:36:27 +01:00
Dave Jones
4d8e49c5b8 Merge pull request #304 from lurch/patch-2
Minor Energenie tweaks
2016-05-08 11:10:38 +01:00
Dave Jones
94a05adddf Merge pull request #297 from lurch/patch-1
Add coverage badge to README
2016-05-08 11:02:09 +01:00
Dave Jones
4e0aa9403f Merge pull request #298 from lurch/new_source_tools
New source tools: booleanized, pre_periodic_filtered & post_periodic_filtered
2016-05-08 11:01:01 +01:00
Andrew Scheller
86aeab4129 Add active_high parameter to LEDBarGraph's constructor
Also adds an active_high property to LEDCollection, and fixes up some of the LEDBoard docstrings
2016-05-06 11:53:00 +01:00
Andrew Scheller
18bb3f559e Add RGBLED.pulse method
Also add timing tests to all the blink unit-tests
2016-05-04 11:14:36 +01:00
Andrew Scheller
67261e44b2 Typo in SPISoftwareBus._shared_key
It's a @classmethod, so the first parameter is cls not self
2016-05-02 19:53:33 +01:00
Steveis
191cda29c0 Another SI unit correction 2016-05-02 11:20:59 +01:00
Steveis
bdaa927279 Correct capacitance SI unit 2016-05-01 19:34:30 +01:00
Steveis
019347db26 Corrected value of capacitor used in LightSensor
CamJam kit has a 1uF capacitor in it. Plus I physically tested with the 1uF cap in my CamJam #2 kit.
2016-05-01 18:04:02 +01:00
Andrew Scheller
fddb95b84b Add more unit tests, fix a few small bugs 2016-04-30 16:47:29 +01:00
Andrew Scheller
864c4f9327 test Energenie repr 2016-04-30 14:12:51 +01:00
Andrew Scheller
28afa63ba8 test tweak 2016-04-30 12:24:05 +01:00
Andrew Scheller
708157c8fd Minor Energenie tweaks 2016-04-30 12:19:45 +01:00
Ben Nuttall
7e6cc39d71 Merge pull request #299 from raspitv/master
Correct LED -> PWMLED in recipes
2016-04-28 18:17:09 -07:00
goloplo
3e8a998661 Update output_devices.py 2016-04-28 21:07:37 +01:00
Alex Eames
c522d60e25 Update recipes.rst
Small correction. LED to PWMLED in the Light Sensor 2nd example
2016-04-28 15:36:51 +01:00
Andrew Scheller
01d5cb928f New source tools: booleanized, pre_periodic_filtered & post_periodic_filtered
Also adds extra parameter validation to the existing source tools, adds input
min and max to inverted, and adds many more source tools unit tests.
2016-04-25 10:41:27 +01:00
Andrew Scheller
d244b9a0ab Add coverage badge to README 2016-04-24 20:05:39 +01:00
Ben Nuttall
848d030ac9 Remove with blocks for consistency, re: #239 2016-04-21 23:55:04 +01:00
Dave Jones
663994c8a5 Merge pull request #293 from lurch/patch-5
Make Potentiometer Recipe more efficient
2016-04-21 23:28:58 +01:00
Dave Jones
750a1c4dda Merge pull request #292 from lurch/extra_source_tools
Add extra Source Tools functions: smoothed, summed and multiplied
2016-04-21 23:28:25 +01:00
Dave Jones
0f0b175950 Merge pull request #291 from lurch/patch-4
Add docs/_build to .gitignore
2016-04-21 23:22:21 +01:00
Andrew Scheller
5f336ad2b2 Make Potentiometer Recipe more efficient 2016-04-19 22:16:42 +01:00
Andrew Scheller
9ca4af39de Add extra Source Tools functions: smoothed, summed and multiplied 2016-04-19 22:02:01 +01:00
Andrew Scheller
9a02029c15 Add docs/_build to .gitignore 2016-04-19 21:51:15 +01:00
Andrew Scheller
af3476d570 Update Recipes to use the generic Robot class instead of the specific RyanteckRobot
Fixes #288
2016-04-19 17:25:23 +01:00
Andrew Scheller
53b78f1e32 Minor docs fix (#286)
* Minor docs fix

* Another doc fix
2016-04-19 16:14:31 +01:00
Dave Jones
b1a632e992 Merge pull request #284 from EdwardBetts/patch-1
Include tests in release source tarball
2016-04-17 23:13:39 +01:00
Edward Betts
40f64bc2b5 correct spelling of Artificial (#285)
* correct spelling of Artificial

* add extra = to fix heading
2016-04-17 23:10:35 +01:00
Edward Betts
8f9799f0cb Include tests in release source tarball
I'm thinking about packaging gpiozero so it can be included in Debian. It would be great to include the test suite in the pypi tarball so the tests can be run when the Debian package is built.
2016-04-17 10:24:49 +01:00
Dave Jones
4d00b069ea Merge pull request #283 from waveform80/remote-pins
Fix #278
2016-04-16 00:35:32 +01:00
Dave Jones
79a0fd2a27 Fix #278
Allow the creation of remote pins easily with PiGPIOPin. Also changes
DefaultPin to a pin_factory callable which accepts the input pin number.
2016-04-16 00:30:22 +01:00
Dave Jones
8426c68040 Merge pull request #280 from lurch/patch-4
Tiny typo
2016-04-15 16:53:37 +01:00
Dave Jones
bad99dfdec Merge pull request #282 from waveform80/update-graphs
Update graphs for #277
2016-04-15 16:53:28 +01:00
Dave Jones
43c69b9435 Update graphs for #277 2016-04-15 16:52:31 +01:00
Dave Jones
296c311d8f Merge pull request #277 from lurch/patch-3
Docs update - Motor is composed of two PWMOutputDevices
2016-04-15 16:47:58 +01:00
Andrew Scheller
b694ec838a Tiny typo 2016-04-14 02:02:40 +01:00
Andrew Scheller
66264001e5 Docs update - Motor is composed of two PWMOutputDevices 2016-04-13 16:30:50 +01:00
Ben Nuttall
76ba188f85 Add missing SnowPi docs 2016-04-13 12:12:47 +01:00
Dave Jones
25db608dad Bump version for release 2016-04-10 21:01:41 +01:00