mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Merge branch 'master' of github.com:rpi-distro/python-gpiozero
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user