diff --git a/test.py b/test.py index 9077018..7f559a2 100644 --- a/test.py +++ b/test.py @@ -5,13 +5,10 @@ import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) -pins = [8,10,12,14,18,20,22,24] +GPIO.setup(12, GPIO.OUT) -for pin in pins: - GPIO.setup(pin, GPIO.OUT) - -GPIO.output(10, GPIO.HIGH) +GPIO.output(12, GPIO.HIGH) time.sleep(5) -GPIO.output(10, GPIO.LOW) +GPIO.output(12, GPIO.LOW) GPIO.cleanup \ No newline at end of file