From ff40b57e54d1817a363d5320ce6c92cc409a95c4 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Fri, 5 Mar 2021 15:16:04 +0100 Subject: [PATCH] fehlerkorrektur --- kamera_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamera_server.py b/kamera_server.py index cc563db..4ef1391 100644 --- a/kamera_server.py +++ b/kamera_server.py @@ -18,7 +18,7 @@ for pin in pins_out: #GPIO.output(pins_out[pin]['nr'], GPIO.HIGH) for pin in pins_in: - pi.set_mode(pins_out[pin]['nr'], pigpio.INPUT) + pi.set_mode(pins_in[pin]['nr'], pigpio.INPUT) #GPIO.setup(pins_in[pin]['nr'], GPIO.IN) #GPIO.output(pins_out['kamera']['nr'], GPIO.LOW)