button heeft pulldown resistor om geest triggers te voorkomen
This commit is contained in:
parent
67b93513b5
commit
a6c0888b58
@ -24,7 +24,7 @@ GPIO.setup(register_data_pin, GPIO.OUT)
|
||||
GPIO.setup(sensor_trigger_pin, GPIO.OUT)
|
||||
GPIO.setup(sensor_echo_pin, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
|
||||
GPIO.setup(servo_pin, GPIO.OUT)
|
||||
GPIO.setup(button_pin, GPIO.IN)
|
||||
GPIO.setup(button_pin, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
|
||||
|
||||
|
||||
################################
|
||||
|
Reference in New Issue
Block a user