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.