ESP32 with OV2640 Camera
Posted: Tue May 28, 2019 5:25 pm
I have a TTGO T-Camera ESP32 WROVER with PSRAM and Camera Module OV2640
I use Arduino IDE with ESP32 Core Installation version: 1.02
The Camera Brightness, Contrast, Saturation, slider on the "CameraWebServer" doesn't not react correctly, also in a program, the last action deletes other actions, for example changing the saturation after the brightness reset the brightness
I checked the camera code in comparison with the Datasheet of the OV2640 and at first sight, it seems correct.
Any idea?
Thank you.
I use Arduino IDE with ESP32 Core Installation version: 1.02
The Camera Brightness, Contrast, Saturation, slider on the "CameraWebServer" doesn't not react correctly, also in a program, the last action deletes other actions, for example changing the saturation after the brightness reset the brightness
Code: Untitled.cpp Select all
// Value and Type are int
sensor_t * s = esp_camera_sensor_get();
switch(Type)
{
case CBrightness:
s->set_brightness(s, Value);
break;
case CSaturation:
s->set_saturation(s, Value);
break;
case CContrast:
s->set_contrast(s, Value);
break;
}
Any idea?
Thank you.