Skip to content

Commit

Permalink
Link from flash_mode attr to recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
waveform80 committed Mar 18, 2015
1 parent 554b190 commit b01e76f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/recipes2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1393,6 +1393,8 @@ as follows::
Added note about new :mod:`picamera.array` module.


.. _flash_configuration:

Using a flash with the camera
=============================

Expand Down
4 changes: 2 additions & 2 deletions picamera/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -3096,10 +3096,10 @@ def _set_flash_mode(self, value):
configuration`_ which is considered an advanced topic.
Specifically, you need to define pins ``FLASH_0_ENABLE`` and
optionally ``FLASH_0_INDICATOR`` (for the privacy indicator). More
information can be found in this `forum thread`_.
information can be found in this :ref:`recipe
<flash_configuration>`.
.. _Device Tree configuration: http://www.raspberrypi.org/documentation/configuration/pin-configuration.md
.. _forum thread: http://www.raspberrypi.org/forums/viewtopic.php?p=590595#p590595
""".format(values=docstring_values(FLASH_MODES)))

def _get_awb_mode(self):
Expand Down

0 comments on commit b01e76f

Please sign in to comment.