Raspberry Pi - GPIO Basics with Python
How would you modify this code to avoid random readings on an input pin 20 connected to a button?
GPIO.setup(20, GPIO.IN) print(GPIO.input(20))
GPIO.setup(20, GPIO.IN) print(GPIO.input(20))
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions