changed pin

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

View File

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