Commit Graph

731 Commits

Author SHA1 Message Date
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 c529c6db82 Updated changelog for release 1.2.0 v1.2.0 2016-04-10 21:07:05 +01:00
Dave Jones 25db608dad Bump version for release 2016-04-10 21:01:41 +01:00
Ben Nuttall 56bd1b3c46 Merge pull request #243 from waveform80/keyboard-robot
Fix #237
2016-04-10 20:55:26 +01:00
Dave Jones bb13e9fe12 Fix #237
Adds a keyboard controlled robot recipe that uses curses. Advantage is
that no external deps are required, disadvantages are that it'll only
work from a terminal (or terminal window, basically not IDLE).
2016-04-10 20:48:30 +01:00
Dave Jones 20e56c54f7 Merge pull request #275 from waveform80/last-minute-12
Last minute changes for 1.2
2016-04-10 20:13:13 +01:00
Dave Jones f82ddad1fc Last minute changes for 1.2
Warnings about non-physical pins, and period specification for
sin/cosine waves in tools
2016-04-10 20:09:12 +01:00
Dave Jones e2b8171bbb Merge pull request #274 from waveform80/doc-reorg
Doc reorganization
2016-04-10 16:58:27 +01:00
Dave Jones ecc8df8041 Doc reorganization 2016-04-10 16:47:16 +01:00
Dave Jones 8f8dddd403 Merge pull request #273 from lurch/composite_device_check
Check that the sub-devices of CompositeDevice are actually Device instances
2016-04-10 15:50:53 +01:00
Dave Jones 748904c156 Merge pull request #183 from lurch/LEDBoard_on-off-toggle_args
Add *args to the LEDBoard on(), off() and toggle() methods.
2016-04-10 15:38:50 +01:00
Andrew Scheller 8e09a077fd Check that the sub-devices of CompositeDevice are actually Device instances 2016-04-10 15:02:34 +01:00
Andrew Scheller 0089b5225c Add *args to the LEDBoard on(), off() and toggle() methods.
Implements #125
2016-04-10 01:35:18 +01:00
Dave Jones 05560f64c7 Merge pull request #271 from waveform80/doc-fixes-for-12
Some minor doc fixes for 1.2
2016-04-09 10:36:31 +01:00
Dave Jones 8c4096b19c Some minor doc fixes for 1.2 2016-04-09 10:30:03 +01:00