From 2bd1cbc7494dd3ddcce0280e69768e484090322a Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Fri, 27 May 2016 00:29:57 +0100 Subject: [PATCH] Fix typo in recipes --- docs/recipes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes.rst b/docs/recipes.rst index f12d3d7..b73e3aa 100644 --- a/docs/recipes.rst +++ b/docs/recipes.rst @@ -196,7 +196,7 @@ Button controlled camera ======================== Using the button press to trigger picamera to take a pitcure using -``button/when_pressed = camera.capture`` would not work because it requires an +``button.when_pressed = camera.capture`` would not work because it requires an ``output`` parameter. However, this can be achieved using a custom function which requires no parameters::