changed port

Signed-off-by: Ebbe Baß <ebbe@ping-mee.de>
master
Ebbe Baß 2022-07-06 18:47:42 +02:00
parent d1076f12f5
commit e430e7106d
1 changed files with 3 additions and 3 deletions

View File

@ -5,10 +5,10 @@ import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BCM)
GPIO.setup(12, GPIO.OUT)
GPIO.setup(8, GPIO.OUT)
GPIO.output(12, GPIO.HIGH)
GPIO.output(8, GPIO.HIGH)
time.sleep(5)
GPIO.output(12, GPIO.LOW)
GPIO.output(8, GPIO.LOW)
GPIO.cleanup