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::