-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change register values of ov5640 camera #506
Comments
you can use this method to change register values. sensor_t * s = esp_camera_sensor_get();
s->set_reg(s, reg, mask, value); |
you can also fork the driver and modify |
Hi, |
Mask is used if you want to modify only certain bits of the register. If you give it 0xFF it will change the whole register. |
Thanks for your response. We have to set 0x3031 register at 0x08 to bypass the regulator as it is giving reverse current and default value of the register is 0x00. Please confirm and if there is an issue in this let me know. |
The mask should be 0xFF if you want to set the value of the whole register. Mask of 0x00 will not change anything |
Thanks for your reply. |
Hi,
Our application requires usage of ESP32 with ov5640 camera. We are using esp32-camera library in our application.
We need to set some registers of ov5640 camera from ESP32. For example, we want to set register 0x3031 of ov5640 to some custom value.
So is it possible to change registers from the library. If possible, then where can we set those values.
We also want to change the values of some other registers from the datasheet of ov5640 as per our requirements.
Please let us know how we can set the custom values of the registers.
The text was updated successfully, but these errors were encountered: