Arduino
Arduino copied to clipboard
ArduCAM::OV5642_set_Mirror_Flip Option Normal Does Not Work
When I try ArduCAM::OV5642_set_Mirror_Flip with Case Normal (7) I get a black JPEG. By looking at the InitCAM() function in the same API I was able to learn that the correct commands are:
case Normal:
/*
rdSensorReg16_8(0x3818,®_val);
reg_val = reg_val|0x40;
reg_val = reg_val&0xdF;
wrSensorReg16_8(0x3818 ,reg_val);
rdSensorReg16_8(0x3621,®_val);
reg_val = reg_val&0xdf;
wrSensorReg16_8(0x3621, reg_val );
*/
wrSensorReg16_8(0x3818, 0xa8);
wrSensorReg16_8(0x3621, 0x10);
break;
Hi, I'm sorry to tell you that the manufacturer has not provided support for this sensor, so we cannot solve this problem now.