How can the loop be stopped after one cycle?

ColRay:
Thanks one 'n all such good advice, just stick with it is the key to success. Making the pinhole camera was the easy part, over the years it's camera number 25, not the most ambitious but with it's Arduino component one of the challenging concepts. Colin

There you are. Unload your expectations down to real, relax and it will actually be easier to really think about what you do.

Time you spend just organizing your thoughts and refreshing reference material will not be wasted, see trees and woods.