I had mentioned previously that my main hobby is photography and especial high speed photography and explosions.
The trouble with photographing explosions is that they take quite long to happen and if I trigger it using the flash circuit then the picture has already been taken before the explosion gets into full swing.
As an example this is my attempt to generate a fireball using Calcium Carbide in water to get acetylene gas, triggered by my camera flash wired through an ignition coil to make a spark. The first picture is just a small spark, then the second picture gets taken when it is all over.

So I'm wondering about writing a program that can control the spark and when the camera takes the picture so I can set the timing exactly before taking the picture.
I'm wondering how complicated this could be, switching outputs to another device?