interrupt question

groundFungus:
A human operated pushbutton switch is not an appropriate use of an interrupt (unless said human can press and release the button in less than a millisecond).

The planning and implementing a program tutorial shows how to organize your code into functions. When the button becomes pressed call the function that does something. When that function finishes it calls the begin again function.

it needs to trigger on release so thats not a problem :slight_smile:

GoForSmoke:
Please look up interrupts on google. I don't want to begin to type what's already widely available.

You could go to the 3rd address in my sig space just below this message. It's a tutorial on the subject.

Im sorry to disturb you.