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