-
Notifications
You must be signed in to change notification settings - Fork 31
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
Script not firing on first press #3
Comments
I can't reproduce that behavior. I'm running
Then as soon as I press a switch connected to one of those pins, I see, for example:
Note that you need the |
I have the same issue "not firing on the first press". Is there a possibility to change it somewhere in the code that HIGH is a normal state an LOW is the push active state? Kind regards. |
I would be happy to accept a pull request that implements this behavior....maybe we want to replace |
I needed this too - PR is here: #10 |
Running a script based on a switch on gpio 4:
/usr/bin/gpio-watch -e switch 4
The first press results in nothing, no output from gpio-watch and the script does not run. After the initial press the scripts run without issue.
The text was updated successfully, but these errors were encountered: