moved cleanup

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

View File

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