The order of operations is
loop (2 minutes)
1 ensure shutter output is LOW
2 camera output HIGH
3 keep camera output high for 2 minutes
4 camera output to LOW
If it is interrupted at any time in the loop, the following needs to happen and complete without interruptions:
1 Camera should still be HIGH
2 shutter output to HIGH
3 Hold for 100 milliseconds
4 Shutter output to LOW
5 Camera output to LOW
6 Wait 1 second before returning to loop
This should be simple and it frustrates me to no end that I cannot seem to find a way to make it work, all of the examples in tutorials are of little help as they are just for blinking LEDs - I really have no idea how to adapt it. I have been working on this project for days with nothing to show...