changed pin#

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-17 17:08:51 +02:00
parent fd8999a188
commit dda10f9bcf
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(7, GPIO.OUT)
GPIO.output(7, GPIO.HIGH)
GPIO.setup(4, GPIO.OUT)
GPIO.output(4, GPIO.HIGH)
time.sleep(1)
GPIO.output(7, GPIO.LOW)
GPIO.output(4, GPIO.LOW)
time.sleep(5)
GPIO.cleanup()