I'm working on an arduino project that needs to communicate via USB with cameras. There is a great library that everyone knows of when it comes to arduino and USB: https://github.com/felis/PTP_2.0
There are lots of examples on how to use it and even examples of how to communicate with Canon cameras. Even some sort of event handling has its example on github!
But for a VERY long time I just don't get it done: catching the event when a photo was taken!
I digged into the EOSEventLab example and all the other examples, searched the internet up and down but I can't find an answer to my problem. Everyone seems to use "delay" to trigger code after capturing... I can't be the only one in need for this. :)
The following steps should be done:
- setup camera parameters and max. number of images (done)
- take a picture (done)
- execute some more code when camera is ready again aka image is captured
- repeat from 2. until max. number of images are captured
I can give some code if needed but mainly it's the code found in the EOSEventLab example.
Thank you very much for your help!