You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when using SoftTimer6Debounce1 either from the Examples folder or pasted from github, I get the following compile error (verbose) - shown at the end of this message.
However, if I move the onPressed() function to above the "Debouncer" line, it compiles fine.
Oddly, I do not get the same error on the onReleased() function.
Adding prototype definitions for onPressed and onReleased before the Debouncer line also works
i.e.
void onPressed();
void onReleased(unsigned long);
//the above lines are no substitute for the real onPressed and onReleased functions
Debouncer debouncer(INPUT_PIN, MODE_CLOSE_ON_PUSH, onPressed, onReleased);
when using SoftTimer6Debounce1 either from the Examples folder or pasted from github, I get the following compile error (verbose) - shown at the end of this message.
However, if I move the onPressed() function to above the "Debouncer" line, it compiles fine.
Oddly, I do not get the same error on the onReleased() function.
Any ideas?
The text was updated successfully, but these errors were encountered: