problem with settings on esp32-cam module
Posted: Sat Feb 22, 2020 6:50 pm
I am having real problems trying to configure the settings on my esp32-cam modules (using the ov2640 camera).
I seem to only be able to set/adjust one of the settings, if I try to adjust two or more it stops adjusting most / any of them? I have tried everything I can possibly think of but to no avail...
i.e. if i use the commands:
sensor_t *s = esp_camera_sensor_get();
s->set_brightness(s, 2);
This works fine, but if I add this line
s->set_contrast(s, 0);
Then the brightness no longer changes no matter what setting I give it. This is the case with most of the other settings too, if I try to set three then pretty much none of them will have any effect.
You can view my full code here: https://github.com/alanesq/CameraWifiMotion
the settings are in motion.h
Anyone had this problem or have any idea what I am doing wrong?
Thanks in advance...
I seem to only be able to set/adjust one of the settings, if I try to adjust two or more it stops adjusting most / any of them? I have tried everything I can possibly think of but to no avail...
i.e. if i use the commands:
sensor_t *s = esp_camera_sensor_get();
s->set_brightness(s, 2);
This works fine, but if I add this line
s->set_contrast(s, 0);
Then the brightness no longer changes no matter what setting I give it. This is the case with most of the other settings too, if I try to set three then pretty much none of them will have any effect.
You can view my full code here: https://github.com/alanesq/CameraWifiMotion
the settings are in motion.h
Anyone had this problem or have any idea what I am doing wrong?
Thanks in advance...