diff --git a/rpi.py b/rpi.py new file mode 100644 index 0000000..debef55 --- /dev/null +++ b/rpi.py @@ -0,0 +1,12 @@ +import RPi.GPIO as GPIO +import time + +for i in range(100000): + GPIO.setmode(GPIO.BCM) + GPIO.setup(17, GPIO.OUT) + GPIO.output(17, GPIO.HIGH) + time.sleep(1) + GPIO.output(17, GPIO.LOW) + time.sleep(1) + GPIO.cleanup() +