Skip to content

Commit 942859b

Browse files
committed
Merge branch 'master' of github.com:rpi-distro/python-gpiozero
2 parents 81a782b + dbb95b5 commit 942859b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ from gpiozero import MCP3008
491491

492492
while True:
493493
with MCP3008(channel=0) as pot:
494-
print(pot.read())
494+
print(pot.value)
495495
```
496496

497497
## Full Colour LED controlled by 3 Potentiometers

0 commit comments

Comments
 (0)