Skip to content

Commit

Permalink
Merge pull request #194 from waveform80/circuit-diagrams
Browse files Browse the repository at this point in the history
Work on #51
  • Loading branch information
waveform80 committed Feb 13, 2016
2 parents b3ef744 + d090b03 commit ff71e0b
Show file tree
Hide file tree
Showing 29 changed files with 32,113 additions and 3 deletions.
Binary file added docs/images/led_button.fzz
Binary file not shown.
Binary file added docs/images/led_button_bb.pdf
Binary file not shown.
Binary file added docs/images/led_button_bb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,562 changes: 4,562 additions & 0 deletions docs/images/led_button_bb.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/light_sensor.fzz
Binary file not shown.
Binary file added docs/images/light_sensor_bb.pdf
Binary file not shown.
Binary file added docs/images/light_sensor_bb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,588 changes: 4,588 additions & 0 deletions docs/images/light_sensor_bb.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/motion_sensor.fzz
Binary file not shown.
Binary file added docs/images/motion_sensor_bb.pdf
Binary file not shown.
Binary file added docs/images/motion_sensor_bb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,603 changes: 4,603 additions & 0 deletions docs/images/motion_sensor_bb.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/motor.fzz
Binary file not shown.
Binary file added docs/images/motor_bb.pdf
Binary file not shown.
Binary file added docs/images/motor_bb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,596 changes: 4,596 additions & 0 deletions docs/images/motor_bb.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/reaction_game.fzz
Binary file not shown.
Binary file added docs/images/reaction_game_bb.pdf
Binary file not shown.
Binary file added docs/images/reaction_game_bb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,589 changes: 4,589 additions & 0 deletions docs/images/reaction_game_bb.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/rgb_led.fzz
Binary file not shown.
Binary file added docs/images/rgb_led_bb.pdf
Binary file not shown.
Binary file added docs/images/rgb_led_bb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,539 changes: 4,539 additions & 0 deletions docs/images/rgb_led_bb.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/traffic_lights.fzz
Binary file not shown.
Binary file added docs/images/traffic_lights_bb.pdf
Binary file not shown.
Binary file added docs/images/traffic_lights_bb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,625 changes: 4,625 additions & 0 deletions docs/images/traffic_lights_bb.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions docs/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Run a function every time the button is pressed::
Button controlled LED
=====================

.. image:: images/led_button_bb.*

Turn on an :class:`LED` when a :class:`Button` is pressed::

from gpiozero import LED, Button
Expand Down Expand Up @@ -132,6 +134,8 @@ Alternatively::
Traffic Lights
==============

.. image:: images/traffic_lights_bb.*

A full traffic lights system.

Using a :class:`TrafficLights` kit like Pi-Stop::
Expand Down Expand Up @@ -230,6 +234,8 @@ See `Push Button Stop Motion`_ for a full resource.
Reaction Game
=============

.. image:: images/reaction_game_bb.*

When you see the light come on, the first person to press their button wins!

::
Expand Down Expand Up @@ -348,6 +354,8 @@ Using :class:`LED`, :class:`Buzzer`, and :class:`Button` components::
RGB LED
=======

.. image:: images/rgb_led_bb.*

Making colours with an :class:`RGBLED`::

from gpiozero import RGBLED
Expand Down Expand Up @@ -383,7 +391,7 @@ Making colours with an :class:`RGBLED`::
Motion sensor
=============

.. image:: images/motion-sensor.*
.. image:: images/motion_sensor_bb.*

Light an :class:`LED` when a :class:`MotionSensor` detects motion::

Expand All @@ -402,7 +410,7 @@ Light an :class:`LED` when a :class:`MotionSensor` detects motion::
Light sensor
============

.. IMAGE TBD
.. image:: images/light_sensor_bb.*

Have a :class:`LightSensor` detect light and dark::

Expand Down Expand Up @@ -476,7 +484,7 @@ Run a function when something gets near the sensor::
Motors
======

.. IMAGE TBD
.. image:: images/motor_bb.*

Spin a :class:`Motor` around forwards and backwards::

Expand Down

0 comments on commit ff71e0b

Please sign in to comment.