Any way to get a timed button?

@devonmeyers, I recommend you use this library:

http://playground.arduino.cc/Code/Timer

Then you can set an output high in your virtual function, then call the after function to spawn another function to turn off the led after time has elapsed.

Would be nice to have a one-shot type button widget for this, but this does give you the functionality you want.

Cheers,

Craig

1 Like