Dave Jones
2d161f560f
Fix #50
...
This isn't a full fix but I can't seem to reproduce the issue in #50 at
the moment. So for now this just ensures that exceptions in the
constructors get cleaned up properly (so they don't block future
construction attempts against the same pin)
2015-10-12 10:15:09 +01:00
Ben Nuttall
3ce4151bb7
Fix faulty PWMOutputDevice value setter
2015-10-12 00:24:46 +01:00
Ben Nuttall
3f18b3f4b7
Add some circuit diagrams and update docs
2015-10-11 00:45:28 +01:00
Ben Nuttall
b3915859da
Expand readme
2015-10-10 19:33:05 +01:00
Ben Nuttall
e3a3f03247
Expand readme and docs index
2015-10-10 19:21:16 +01:00
Ben Nuttall
d91a65bdfd
Add button and keyboard robot controller recipes
2015-10-10 18:26:02 +01:00
Ben Nuttall
ac5eb7ece1
Merge pull request #54 from waveform80/raspbian-packaging
...
Fix #44
2015-10-10 15:58:43 +01:00
Dave Jones
c8105c8dc3
Fix #44
...
Implement native Debian packaging (control files are part of the source
repo) with Makefile to simplify the release procedure.
2015-10-10 15:54:08 +01:00
Ben Nuttall
17c93d1e45
Release v0.7.0 beta 2
v0.7.0
2015-10-09 12:30:13 +01:00
Ben Nuttall
ee36451bed
Make Motors PWM devices with optional speed argument on methods
2015-10-07 17:09:28 +01:00
Ben Nuttall
65b5ba9ea6
Clean up boards docs page
2015-10-07 15:00:53 +01:00
Ben Nuttall
ae19496ab5
Correct heading of Robot interface in docs
2015-10-06 17:12:30 +01:00
Ben Nuttall
1c9ea6c943
Add motor, robot and motion sensor robot examples
2015-10-06 17:03:13 +01:00
Ben Nuttall
493b4e1cda
Change RGBLED interface from 0-100 to 0-255, close #40
2015-10-05 13:26:01 +01:00
Ben Nuttall
c26c279174
Change PWM interface from 0-100 to 0-1, close #45
2015-10-05 12:37:43 +01:00
Ben Nuttall
fd3f66b832
Ensure PWMOutputDevice pin argument not mandatory, close #43
2015-10-05 12:09:35 +01:00
Ben Nuttall
82319ba672
Cleanup
2015-10-05 12:08:55 +01:00
Ben Nuttall
18985b0d47
Merge pull request #42 from waveform80/docs-part-1
...
Docs clean up part 1
2015-10-04 10:54:32 +01:00
Dave Jones
7429c03117
Docs clean up part 1
...
Big push on getting the docs cleaned up before 1.0. Proper wrapping of
everything so it's decently viewable from the command line (or as
decently viewable as markdown can be - the tables will never look great
from the command line).
Only one code change in this PR: rename bouncetime to bounce_time
(everything else is PEP-8, so this probably should be too) and change
its units to seconds from milliseconds (again, all other durations in
the library are in seconds, so it feels inconsistent that this one
isn't; for the sake of those who won't read the docs - which is most
people - I figure consistency helps with guessing!).
2015-10-03 16:24:12 +01:00
Ben Nuttall
3a4d3d4deb
Add documentation for Motor, Robot and RyanteckRobot
2015-10-02 18:08:59 +01:00
Ben Nuttall
dc34cf3ccf
Implement Motor, Robot and RyanteckRobot
2015-10-02 15:27:55 +01:00
Ben Nuttall
0e4caaaef6
Add MCP3008 usage to docs
2015-09-30 21:36:30 +01:00
Ben Nuttall
8a2ae1052a
Add contributors to readme
2015-09-30 19:02:24 +01:00
Ben Nuttall
fbede611df
Add MCP3008 and potentiometer example
2015-09-30 19:02:12 +01:00
Ben Nuttall
21297ab2bb
Expand docs
2015-09-30 12:00:46 +01:00
Ben Nuttall
5ab5aa601c
Merge branch 'master' of github.com:rpi-distro/python-gpiozero
2015-09-29 21:55:11 +01:00
Ben Nuttall
b515d070af
Fix typo
2015-09-29 21:54:59 +01:00
Ben Nuttall
68bcafe89b
Merge pull request #39 from waveform80/explicit-cleanup
...
Explicit cleanup
2015-09-29 20:31:46 +01:00
Dave Jones
034b88b478
Add close method and context manager
...
Permit devices to be explicitly closed and used as context managers.
Also deal with cleanup properly at script end and ensure objects don't
step on the global cleanup function.
2015-09-29 19:10:01 +01:00
Ben Nuttall
8fc8e3444e
Add RGBLED using new PWMOutputDevice
2015-09-28 19:34:55 +01:00
Ben Nuttall
cbc2b95494
Fix RST in readme
v0.6.0
2015-09-28 12:50:38 +01:00
Ben Nuttall
2aede36365
Add recipes
2015-09-28 12:47:21 +01:00
Ben Nuttall
c1db2dce55
Tidy up docs index
2015-09-28 11:50:56 +01:00
Ben Nuttall
9ca5b60aa8
Ignore built documentation directory
2015-09-28 11:48:53 +01:00
Ben Nuttall
b2a36bba47
Resolve merge conflict
2015-09-28 11:38:09 +01:00
Ben Nuttall
3f960f6da3
Update docstrings and add initial set of documentation
2015-09-28 11:11:00 +01:00
Ben Nuttall
3d6b16e4e4
Merge pull request #35 from waveform80/pull-up-fix
...
Fix #27
2015-09-27 22:30:21 +01:00
Dave Jones
c35dd1698b
Fix #27
2015-09-27 17:29:21 +01:00
Ben Nuttall
a38ab6cd45
Merge pull request #33 from waveform80/blink-fg-bg
...
Fix #32
2015-09-24 18:49:45 +01:00
Dave Jones
980e4e7144
Fix #32
2015-09-24 16:45:55 +01:00
Ben Nuttall
7811ed67c9
Ensure args are passed to flash()
2015-09-24 12:23:09 +01:00
Ben Nuttall
cfed671972
Add docstrings, close #26
v0.5.0
2015-09-24 11:39:50 +01:00
Ben Nuttall
c619aab630
Expose LEDBoard
2015-09-23 17:47:49 +01:00
Ben Nuttall
d47aff9f69
Make TrafficLights extend LEDBoard
2015-09-23 17:30:17 +01:00
Ben Nuttall
12800db25f
Refactor PiLiter into generic LEDBoard class
2015-09-23 16:32:00 +01:00
Ben Nuttall
b97e97909c
Add flash method to output devices and boards, close #22
2015-09-23 15:31:06 +01:00
Ben Nuttall
931571b85d
Add toggle to boards
2015-09-23 14:44:41 +01:00
Ben Nuttall
3a19d8f5ab
Merge branch 'master' of github.com:rpi-distro/python-gpiozero
2015-09-23 14:18:44 +01:00
Ben Nuttall
5e0a56b11c
Make buzzer blink, close #19
2015-09-23 14:18:40 +01:00
Ben Nuttall
63a1dc16b1
Merge pull request #31 from waveform80/nice-repr
...
Fix #25
2015-09-23 14:14:16 +01:00