main.c in libraries

Hi,

I am trying to figure out how to work with ov7076 camera and found this library.

It contains main.c file. My question is, is it being uploaded to arduino and executed or being ignored and servers for development / debugging purposes?

If so, should the logic in main methods be implemented in sketch file?

Thanks

It will replace the Arduino main.c. The linker should look at your files before the library and by the time it searches the library main() will have been resolved.

Whether it needs to be in the sketch file depends on what it does and what you are trying to achieve.