This commit is contained in:
Ben Nuttall
2015-11-23 11:32:35 +00:00
parent f1d4ca0c05
commit dbb95b5e37

View File

@@ -491,7 +491,7 @@ from gpiozero import MCP3008
while True: while True:
with MCP3008(channel=0) as pot: with MCP3008(channel=0) as pot:
print(pot.read()) print(pot.value)
``` ```
## Full Colour LED controlled by 3 Potentiometers ## Full Colour LED controlled by 3 Potentiometers