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

Attach Single edge problem #92

Open
engineerarslan opened this issue Aug 7, 2023 · 1 comment
Open

Attach Single edge problem #92

engineerarslan opened this issue Aug 7, 2023 · 1 comment

Comments

@engineerarslan
Copy link

I want to read 4 single pulses from a fan. I am able to read a single by attachSingleEdge(34,35)

But when I use attachSingleEdge(34,34). It does not count anything. While it has been clearly mentioned by the author that we can pass the same pin as the argument. So do I have to use 8 pins for 4 pulses? Or Am I missing something?

@ktannady
Copy link

just go with second parameter -1, hope it helps

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

2 participants