From dbb95b5e37ef6e253f6e333cdb3a789e30195c2f Mon Sep 17 00:00:00 2001 From: Ben Nuttall Date: Mon, 23 Nov 2015 11:32:35 +0000 Subject: [PATCH] Fix typo --- docs/recipes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes.md b/docs/recipes.md index 72a513e..433d8ff 100644 --- a/docs/recipes.md +++ b/docs/recipes.md @@ -491,7 +491,7 @@ from gpiozero import MCP3008 while True: with MCP3008(channel=0) as pot: - print(pot.read()) + print(pot.value) ``` ## Full Colour LED controlled by 3 Potentiometers