Skip to content
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

Version 2.0 Button class broken with LGPIOFactory #1090

Open
mheidenreich opened this issue Oct 12, 2023 · 0 comments
Open

Version 2.0 Button class broken with LGPIOFactory #1090

mheidenreich opened this issue Oct 12, 2023 · 0 comments

Comments

@mheidenreich
Copy link

mheidenreich commented Oct 12, 2023

Operating system: Raspberry Pi OS Bookworm
Python version: e.g. 3.11.2
Pi model: Pi 400, Pi 3B (tested on both)
GPIO Zero version: 2.0
Pin factory used: default (LGPIOFactory)

Issue: Button events are not registered correctly. Reverting to RPiGPIOFactory (for button only) solves the issue.

I used a simple program to test it, where repeat button presses should start stop blinking two LEDs. With LGPIOFactory button presses are sometimes registered correctly, but often result in phantom blinks, during which button is unresponsive.

Test code:
https://github.com/mheidenreich/ButtonBasics/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant