Commit Graph

210 Commits

Author SHA1 Message Date
Dave Jones
006c10cce0 Miscellaneous minor changes for 1.1 2016-02-08 12:01:42 +00:00
Dave Jones
9871ac3dca Fix #135 2016-02-08 00:33:05 +00:00
Dave Jones
7099b56974 Fix #168 2016-02-07 19:54:39 +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
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
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
Andrew Scheller
7ea312acb9 Move LED example from GPIO2 to GPIO17 2016-01-31 15:54:57 +00:00
Dave Jones
cf18fb971e Fix #121
Change parent of PWMOutputDevice to OutputDevice and implement blink to
maintain compatibility. The version of blink implemented here is
slightly extended to include functionality like Explorer HAT's "pulse".
The parameter defaults behave identically to OutputDevice's blink but
can be adjusted to have the device smoothly fade in and out.
2016-01-31 13:47:11 +00:00
Dave Jones
0bc62aee73 Generic docs need reST
Conversion of all docs to reST so that the generic docs can link easily
with the rest of the docs.
2016-01-30 23:40:12 +00:00
Ben Nuttall
e172caf2cb Merge branch 'master' of github.com:rpi-distro/python-gpiozero 2016-01-04 14:37:04 +00:00
Ben Nuttall
61f4b4919b Correct RGBLED recipe 2016-01-04 14:36:55 +00:00
Andrew Scheller
21f542cb8d Fix upgrade instructions
'apt-get upgrade' always upgrades all packages, to upgrade a single package we need to use 'apt-get install'
2015-12-01 10:19:57 +00:00
Ben Nuttall
942859b5a2 Merge branch 'master' of github.com:rpi-distro/python-gpiozero 2015-11-28 02:58:46 +00:00
Ben Nuttall
81a782b5f3 Add apt install instructions 2015-11-28 02:58:37 +00:00
Ben Nuttall
dbb95b5e37 Fix typo 2015-11-23 11:32:35 +00:00
Andrew Scheller
f55d92e9db Update recipes
Remove superfluous function from Music Box example, and add pause() to all the recipes that need it
2015-11-19 12:16:39 +00:00
Andrew Scheller
ccd880424b typo 2015-11-19 02:04:15 +00:00
Dave Hughes
f1299037b5 Bump versions for release 2015-11-16 12:15:39 +00:00
Andrew Scheller
f1e3ee03b3 Minor typo 2015-11-16 10:34:40 +00:00
Ben Nuttall
4975e9c8fb Update docs: add PWMLED and include value, values and source properties 2015-11-15 17:18:10 +00:00
Ben Nuttall
382d6e45fc Reverse order of MCP300X arguments, close #92 2015-11-15 13:51:49 +00:00
Ben Nuttall
492f311cc4 Remove incomplete TemperatureSensor for 1.0 release, close #93 2015-11-15 13:00:06 +00:00
Dave Jones
f69b6195ca Fix #75
Alias blink to beep for Buzzer
2015-11-15 11:48:53 +00:00
Clare Macrae
b22eebfebe Correct constructor arg names in TrafficLights 2015-11-08 22:38:21 +00:00
Ben Nuttall
010f1fd65c Update LEDBoard init docs 2015-10-25 22:05:17 +00:00
Ben Nuttall
766646f772 Release v0.9.0 beta 4 2015-10-25 18:56:58 +00:00
Ben Nuttall
af2bf9325c Update docs 2015-10-25 18:54:20 +00:00
Ben Nuttall
fe16149b12 Add install dependencies to docs 2015-10-25 15:09:49 +00:00
Ben Nuttall
0805579175 Add 'Initialisation options' to docs 2015-10-18 22:57:22 +01:00
Ben Nuttall
d61f0ff5ec Make default arguments bold 2015-10-18 12:28:53 +01:00
Ben Nuttall
d9bbed2cdf Update release date in docs 2015-10-18 10:46:12 +01:00
Ben Nuttall
cc79749758 Update docs 2015-10-17 15:28:10 +01:00
Ben Nuttall
b7cce51497 Update docs for v0.8.0 2015-10-17 12:36:41 +01:00
Ben Nuttall
fc1fe62bfe Fix copy-paste error on LED pin numbers, close #71 2015-10-14 12:18:42 +01:00
Ben Nuttall
43fdf71ae3 Use second level headers on notes page 2015-10-13 14:45:56 +01:00
Dave Jones
f0eefdb8f2 Fix Notes
Notes now works with embedded code sections, but the spacing is still
wrong as is the language selection. Oh well, come back to it later...
2015-10-12 22:17:45 +01:00
Dave Jones
28f57d2710 Attempt to fix example syntax sections
Something fishy going on with the Markdown for the code examples in the
Notes page. Might be down to the indentation of the list item's content?
The vim markdown parser seems to think so anyway; let's see what
pythonhosted.org says ...
2015-10-12 19:35:09 +01:00
Ben Nuttall
3f18b3f4b7 Add some circuit diagrams and update docs 2015-10-11 00:45:28 +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
17c93d1e45 Release v0.7.0 beta 2 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
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
0e4caaaef6 Add MCP3008 usage to docs 2015-09-30 21:36:30 +01:00
Ben Nuttall
fbede611df Add MCP3008 and potentiometer example 2015-09-30 19:02:12 +01:00