Raspberry Pi - LED and Button Projects
Why is the GPIO.cleanup() call in this LED pattern code incorrect?
import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(16, GPIO.OUT) GPIO.output(16, GPIO.HIGH) GPIO.cleanup(16)
