pull up aktiviert
This commit is contained in:
parent
ee9c2a578a
commit
5da7f5711b
@ -21,7 +21,7 @@ for pin in pins_out:
|
|||||||
|
|
||||||
for pin in pins_in:
|
for pin in pins_in:
|
||||||
pi.set_mode(pins_in[pin]['nr'], pigpio.INPUT)
|
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.setup(pins_in[pin]['nr'], GPIO.IN)
|
||||||
|
|
||||||
#GPIO.output(pins_out['kamera']['nr'], GPIO.LOW)
|
#GPIO.output(pins_out['kamera']['nr'], GPIO.LOW)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user