From 350d198912c7e39c7aaa3eff750d5c7de32907af Mon Sep 17 00:00:00 2001 From: Wander_Lust Date: Thu, 21 May 2026 10:56:35 +0530 Subject: [PATCH] done --- rpi.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rpi.py 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() +