Arduino icon indicating copy to clipboard operation
Arduino copied to clipboard

ArduCAM::OV5642_set_Mirror_Flip Option Normal Does Not Work

Open patrickmoffitt opened this issue 4 years ago • 1 comments

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,&reg_val);
				reg_val = reg_val|0x40;
				reg_val = reg_val&0xdF;
			wrSensorReg16_8(0x3818 ,reg_val);
			rdSensorReg16_8(0x3621,&reg_val);
				reg_val = reg_val&0xdf;
				wrSensorReg16_8(0x3621, reg_val );
				*/
                wrSensorReg16_8(0x3818, 0xa8);
                wrSensorReg16_8(0x3621, 0x10);
			break;

patrickmoffitt avatar Jun 05 '20 14:06 patrickmoffitt

Hi, I'm sorry to tell you that the manufacturer has not provided support for this sensor, so we cannot solve this problem now.

ArducamSupport avatar Jun 08 '20 07:06 ArducamSupport