-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Button not working with gpiozero #1138
Comments
harshvardhanagrawal
changed the title
Button not working with gpiozero but working with gpiod
Button not working with gpiozero
Apr 4, 2024
Do you get an error? Are you in a virtualenv? How did you install lgpio? |
|
same issue here, same setup as yours, did you manage to fix it somehow? |
Nah. I switched to gpiod for now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Operating system: Debian GNU/Linux 12 (bookworm)
Python version: 3.11.2
Pi model: Pi 5 Model B
GPIO Zero version: 2.0
Pin factory used: LGPIOFactory
Basic button functioning is not working with gpiozero module. I tried using the basic example given in https://github.com/gpiozero/gpiozero/blob/master/docs/examples/button_1.py
Button Press is not being detected with the above code.
I am using a 4-pin button with one pin connected to vcc (3.3V) and the other is input pin
->Connections are okay as I am able to detect using gpiod module
->gpiozero installation is okay as I am able to turn on led using gpiozero.
The text was updated successfully, but these errors were encountered: