diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ + diff --git a/test.py b/test.py index e69de29..2bbdebe 100644 --- a/test.py +++ b/test.py @@ -0,0 +1,16 @@ +import time +import os +import RPi.GPIO as GPIO + + +GPIO.setmode(GPIO.BCM) + +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.cleanup \ No newline at end of file