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

Pin state change event #2

Open
umasgn opened this issue May 12, 2015 · 2 comments
Open

Pin state change event #2

umasgn opened this issue May 12, 2015 · 2 comments

Comments

@umasgn
Copy link

umasgn commented May 12, 2015

monitor multiple pins on their state change high or low.

@rykerwilliams
Copy link

Is this is a feature request? I see that state change is listed in the "Coming Soon" section of the Readme.

I too am interested in this feature. I'm not clear about implementation strategy, but if @AlexSartori can flesh out the design here, I would be willing to have a go at coding it.

Here's another GPIO project in python that has this feature: https://github.com/projectweekend/Pi-Pin-Manager#single-pin-watcher

@AlexSartori
Copy link
Owner

Hi, thanks for the interest in my project. I was implementing it in a second branch ('statechange-events_beta'). You can take a lookat that, but I have not tested it, so I don't know if it works... Anyway, it simply uses a FileSystemWatcher object to monitor the changes of the file where the value of the pin is written by the OS, and it triggers events. @umasgn @rykerwilliams

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

No branches or pull requests

3 participants