From fa440bbe831211fa5eb5ce719d824a46a2e243e7 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Fri, 27 May 2016 00:37:16 +0100 Subject: [PATCH] Revert accidental typo --- docs/recipes.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes.rst b/docs/recipes.rst index 3ed590a..11b7663 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::