changed pin

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-17 17:08:09 +02:00
parent 1a7cc4bff7
commit fd8999a188
1 changed files with 3 additions and 3 deletions

View File

@ -6,10 +6,10 @@ import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(17, GPIO.OUT)
GPIO.output(17, GPIO.HIGH)
GPIO.setup(7, GPIO.OUT)
GPIO.output(7, GPIO.HIGH)
time.sleep(1)
GPIO.output(17, GPIO.LOW)
GPIO.output(7, GPIO.LOW)
time.sleep(5)
GPIO.cleanup()