185Views1Replies
RuntimeWarning: Channel already in use?
Returning to finish lesson 8, picking up where I left off, I attempt to run blink.py program and get the following:
blink.py:8: RuntimeWarning: This Channel is already in use, continuing anyway.
Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(yellowLed, GPIO.OUT)
Discussions
3 years ago
# Add this line after GPIO.setmode(GPIO.BCM):
GPIO.setwarnings(False)