nakedsensor
Member
Hi,
I'm using the 'Bounce' function according to the rules by defining :
int myDelay = 5;
Bounce myButton = Bounce(pin, myDelay);
... once the program is running, can I change the value of myDelay ( through user input of some sort ) and expect the Bounce function to use the new value, or am I stuck with whatever was defined at compilation time ?
Thanks !
I'm using the 'Bounce' function according to the rules by defining :
int myDelay = 5;
Bounce myButton = Bounce(pin, myDelay);
... once the program is running, can I change the value of myDelay ( through user input of some sort ) and expect the Bounce function to use the new value, or am I stuck with whatever was defined at compilation time ?
Thanks !