Does Arduino have a "WAIT" or "HOLD" command ?

Hi, What I am wanting to achieve would appear to be quite straight forward, but not to me. I have a simple array of LEDs switching on and off with say a Pause 1000 between on and off. What I need is a "WAIT" command instead of Pause 1000, where the sketch run stops, until I give it an "input" signal to continue the sketch. Is this possible ?
Thanks Chez7.

1 Like

Look at a while() loop.

http://arduino.cc/en/Reference/While

You can run in a while() loop, while waiting for your input pin to go HIGH or LOW.

Thanks James, will try that, Chez7.