changed pin

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

View File

@ -10,7 +10,7 @@ GPIO.setup(4, GPIO.OUT)
GPIO.output(4, GPIO.HIGH) GPIO.output(4, GPIO.HIGH)
time.sleep(1) time.sleep(1)
GPIO.output(4, GPIO.LOW) GPIO.output(4, GPIO.LOW)
time.sleep(5) time.sleep(1)
GPIO.cleanup() GPIO.cleanup()
# def debug_print(message: str): # def debug_print(message: str):
@ -36,7 +36,7 @@ GPIO.cleanup()
# error_print("Unknown state for relay ("+state+")") # error_print("Unknown state for relay ("+state+")")
# while True: # while True:
# relay_controller(7, "True") # relay_controller(4, "True")
# time.sleep(2) # time.sleep(2)
# relay_controller(7, "False") # relay_controller(4, "False")
# time.sleep(2) # time.sleep(2)