This seems as good a place as any to ask.
I am working on a big project/sketch and modifying the code/sketch severely.
Someone has suggested I use a "button class" which allows you options on how long the button is pressed to give different results.
Short, med, long holds.
As I know little about how things work, do I just "include" the class - still don't know how to do that - and it all just "works"?
Or do I have to look through the code and find any button calls and "replace" them with calls to the new class?
The sketch I am working on has a "wait_on_escape" call which is like a "wait for button press" but with no delay, and gets the value of the button pressed.
So I'm guessing I only (bad choice of word there?) have to modify the "wait_on_escape" function to call the class?