Commit Graph

428 Commits

Author SHA1 Message Date
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
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
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
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
Dave Jones
4e75d49355 Merge pull request #270 from waveform80/tests-on-pi
Make tests work reliably on the Pi
2016-04-08 23:30:16 +01:00
Dave Jones
c2a9392ea5 Make tests work reliably on the Pi
While the tests work well on a PC or Travis, the Pi (where I ought to be
running them!) has some issues with the timing tests. Need to relax the
tolerance of the "assert_states_and_times" method to 0.05 seconds
otherwise it periodically fails even on something reasonably quick like
a Pi 2 (less failures on a Pi 3 but still occasionally).

Also reduced default fps to 25; if the default timing occasionally fails
on a Pi 2 it's evidently too fast for a Pi 1 and shouldn't be the
default; 25 also doesn't look any different to me on a pulsing LED.

There's also a bunch of miscellaneous fixes in here; last minute typos
and chart re-gens for the 1.2 release.
2016-04-08 23:11:14 +01:00
Dave Jones
44422bd6c9 Merge pull request #269 from lurch/patch-7
Typo
2016-04-08 17:03:03 +01:00