diff --git a/test.py b/test.py index 2bbdebe..bd0172a 100644 --- a/test.py +++ b/test.py @@ -9,8 +9,9 @@ pins = [8,10,12,14,18,20,22,24] for pin in pins: GPIO.setup(pin, GPIO.OUT) - GPIO.output(pin, GPIO.LOW) - time.sleep(0.001) - GPIO.output(pin, GPIO.HIGH) - time.sleep(0.001) + +GPIO.output(8, GPIO.HIGH) +time.sleep(30) +GPIO.output(8, GPIO.LOW) + GPIO.cleanup \ No newline at end of file