FLIP mode on OV5642 does not work

I can capture JPEGs just fine, but I need them flipped. I’m using this command:


If I place this command before CAMobj.InitCAM(), the JPEG does not flip and the command does nothing. If I put the command before CAMobj.InitCAM(), the the JPEG goes through all black.

What is the proper order of the calls?

Can you confirm this feature works on OV5642?


The correct call location of OV5642_set_Mirror_Flip() should be after InitCAM(). The problem of image turning black you mentioned does exist, but the manufacturer no longer provide technical support for this sensor, so we cannot solve this problem now.