Raspberry-GPIO-Manager
Raspberry-GPIO-Manager copied to clipboard
Pin state change event
monitor multiple pins on their state change high or low.
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
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