This commit is contained in:
Pbopbo
2026-04-07 16:25:07 +02:00
parent 526a1439f2
commit 3154441b6a

View File

@@ -1,17 +0,0 @@
#!/usr/bin/env python3
import time
import RPi.GPIO as GPIO
GPIO_PIN = 12
GPIO.setmode(GPIO.BCM)
GPIO.setup(GPIO_PIN, GPIO.OUT)
while True:
print("toggle led ON")
GPIO.output(GPIO_PIN, GPIO.LOW)
time.sleep(2)
print("toggle led OFF")
GPIO.output(GPIO_PIN, GPIO.HIGH)
time.sleep(2)