Go to advanced search

by 40Alpha
Thu Sep 05, 2019 3:14 am
Forum: Beginners
Topic: GPIO pin turns off immediately when switch is connected, turns back on when disconnected
Replies: 3
Views: 174

GPIO pin turns off immediately when switch is connected, turns back on when disconnected

I have no problem turning on and off pins on my rpi4 (using both gpio on the terminal and Gpiozero with python3) however when I connect a wire (which is connected to a switch) to the pin... it turns the pin output to 0. When I disconnect, it goes back to 1. What is the deal here? When I take the con...

Go to advanced search