I would like to detect how long the state on/off is going on for. Is there a way to do that? I would like to do that for two reasons:
- I would be able to make a very simple toggle button. (I know about the other way with the old value and new value).
- I can make the button being pressed for a long time be like a return button.
Anyways, I've been rambling. Anyone got any ideas?
Thanks, Jack