Stepper Moves, IR Flashes, Repeat... How?

HI Ian

Sorry for the delay in replying, life has a habit of getting in the way.

I have loaded your code onto the arduino. The serial monitor prints 'Start!' then cycles 'NOPT = 1' endlessly. If I press the button and hold it, the Serial monitor prints 'NOPT = 1' then 2, 3, 4 & 5 and then stops. When I release the button it continues to cycle NOPT = 1 endlessly

It's late here and I'm not firing on all cylinders, what was the goal of this code? Just to show the button press? It seems to be working in reverse of what I need. The code need to wait for a single press of the button and then cycle through the specified number of pictures/routines.

I'll spend some more time on this tomorrow. Thanks for taking the time to help