-
Notifications
You must be signed in to change notification settings - Fork 1
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
tolerance should be a constant #4
Comments
Dear @scls19fr , Thank you! |
It could be even better to make tolerance a variable which could be given when constructing ezAnalogKeypad |
PR #6 sent but untested |
Dear @scls19fr |
I think that depending the number of buttons tolerance should be greater or smaller |
Hello,
Maybe tolerance should be defined as a constant (instead of having 100 in code).
But I'm not sure if it should be set using macro #define https://www.arduino.cc/reference/en/language/structure/further-syntax/define/ or using const keyword https://www.arduino.cc/reference/en/language/variables/variable-scope-qualifiers/const/
Kind regards
The text was updated successfully, but these errors were encountered: