-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Update attachInterrupt notes about mechanical switch chatter #576
base: master
Are you sure you want to change the base?
Conversation
Hi Paul, thanks for the contribution.
This will need a review from an Arduino employee (I am just a volunteer here). Thanks again! |
Oh if only Arduino had a debouncing feature built in. This is one of the very common problems users face. |
Since @smellai was the person to mention this policy, I have requested a review. Bounce2 is in the Arduino Library Manager so, if the link is not allowed, an alternative would be to change the text to something like:
However, there is something to be said for being able to just click on a link and have a quick look at the library. |
Thanks! :) The Bounce2 page's readme has 2 very nice waveform captures that show real waveforms with annotation. I know how many forum questions you answer. I'm sure you've many times encountered users confused by "random" results from mechanical chatter. Might also be worth mentioning the main libraries page in the Arduino reference section links to an older version of this Bounce library. It's been around for a very long time, since at least Arduino version 0012. |
Yes, we even had an issue previous to #575 in this repository that I interpreted to be the same problem: #414. I don't think we've seen many other topics come up with that frequency in this repo, so this indicates to me that it's important to explain this issue in the documentation. Other references:
I'd prefer to see that resolved at the root of the problem by simply removing the "Contributed Libraries" section from that page, since it's really not realistic or sensible to expect that Arduino will maintain such content: arduino/Arduino#5291 (comment) |
Hello, I am discussing with the Content Team the right solution to this issue of the "Contributed Libraries" list. I'll update you as soon as we decide how to manage it. Simone |
Maybe this PR should be closed? Looks like Arduino is never going to update the documentation with helpful info, if any mention is made of a library. |
|
Hopefully this small addition will help uses avoid a common pitfall with mechanical chatter.