From 5da7f5711be7acd3fb07702ee9cfacbf5c7e092c Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Mon, 18 Oct 2021 07:32:04 +0200 Subject: [PATCH] pull up aktiviert --- kamera_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamera_server.py b/kamera_server.py index 7bc3fff..b6fefdf 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -21,7 +21,7 @@ for pin in pins_out: for pin in pins_in: pi.set_mode(pins_in[pin]['nr'], pigpio.INPUT) - pi.set_pull_up_down(pins_out[pin]['nr'], pigpio.PUD_UP) + pi.set_pull_up_down(pins_in[pin]['nr'], pigpio.PUD_UP) #GPIO.setup(pins_in[pin]['nr'], GPIO.IN) #GPIO.output(pins_out['kamera']['nr'], GPIO.LOW)