Dave Jones
32803a7988
Convert recipe examples to includes
...
Makes it much easier to test things - no copying'n'pasting just run the
examples straight from the dir (after wiring stuff up)
2016-08-29 20:41:11 +01:00
Dave Jones
c03f7a2b7e
Merge pull request #401 from waveform80/which-led-is-which
...
Annotate recipe with LED sys/class names
2016-08-14 13:58:21 +01:00
Andrew Scheller
ab8dcf8794
Add missing closing-bracket
2016-08-14 13:31:05 +01:00
Dave Jones
d401a72682
Annotate recipe with LED sys/class names
2016-08-14 13:13:54 +01:00
Ben Nuttall
2587612403
Replace tab with spaces
2016-06-03 14:40:02 +01:00
Ben Nuttall
963b962867
Add Shutdown button example to recipes, close #325
2016-05-29 20:19:09 +01:00
Andrew Scheller
ffc07950e1
Typo
2016-05-28 13:57:37 +01:00
Ben Nuttall
42f9d4f3b8
Merge pull request #290 from lurch/patch-3
...
Update Recipes to use the generic Robot class instead of the specific…
2016-05-28 12:39:47 +01:00
Ben Nuttall
b581719c8c
Rename RGB -> Full Color LED in recipes
2016-05-28 00:45:13 +01:00
Ben Nuttall
25ccf9389c
Add LEDBoard and LEDBarGraph recipes
2016-05-28 00:43:12 +01:00
Andrew Scheller
fa440bbe83
Revert accidental typo
2016-05-27 00:37:16 +01:00
Andrew Scheller
bd219d9e59
Fix Travis-build Recipe
...
Swap tabs to spaces, and use gpiozero.tools.negated
2016-05-27 00:33:45 +01:00
Ben Nuttall
2bd1cbc749
Fix typo in recipes
2016-05-27 00:29:57 +01:00
Ben Nuttall
466ff341cb
Add to button recipes
2016-05-27 00:25:31 +01:00
Ben Nuttall
35d1de644b
Add PWMLED recipes
2016-05-27 00:01:48 +01:00
Ben Nuttall
0a5499dfbe
Add recipe for GPIO Zero Travis build LED indicator, close #191
2016-05-26 23:52:51 +01:00
Ben Nuttall
4460f8047f
Correct Motor usage in recipe
...
Thanks to Antonio Spadaro for pointing this out
2016-05-10 23:07:00 +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
Ben Nuttall
848d030ac9
Remove with blocks for consistency, re: #239
2016-04-21 23:55:04 +01:00
Andrew Scheller
5f336ad2b2
Make Potentiometer Recipe more efficient
2016-04-19 22:16:42 +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
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
6b2e014975
Fix #148
...
Added recipe for power/activity LEDs (on A+/B+/2B, with notes for other
models)
2016-04-01 23:09:52 +01:00
Dave Jones
8fc4b58ec2
Fix #182
...
Fixes LEDBarGraph (broken by snowpi updates) and adds PWM support and
relevant recipes
2016-04-01 20:05:10 +01:00
Ben Nuttall
e09e21a42e
Fix typo
2016-03-20 13:34:50 +00:00
Barry Byford
8ce5e12919
Correction on Traffic Lights Alternative recipe
2016-03-19 11:43:41 +00:00
Dave Jones
38b89a36f7
Work on #51 - add pot diagram
2016-02-13 10:06:27 +00:00
Dave Jones
d090b03679
Work on #51
...
Some more circuit diagrams; better check these are accurate - I haven't
had time to wire them up and test them!
2016-02-13 00:45:22 +00:00
Dave Jones
83fb6ae8b4
Fix #114 - ultrasonic sensors
...
Implements support for the HC-SR04 ultrasonic sensor as an input device
class named DistanceSensor
2016-02-12 19:27:24 +00:00
Dave Jones
8e0c6e243b
Refactor low level implementation
...
This commit is a fairly major piece of work that abstracts all pin
operations (function, state, edge detection, PWM, etc.) into a base
"Pin" class which is then used by input/output/composite devices to
perform all required configuration.
The idea is to pave the way for I2C based IO extenders which can present
additional GPIO ports with similar capabilities to the Pi's "native"
GPIO ports. As a bonus it also abstracts away the reliance on the
RPi.GPIO library to allow alternative pin implementations (e.g. using
RPIO to take advantage of DMA based PWM), or even pure Python
implementations.
2016-02-08 14:54:18 +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
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
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