Update Sketch_06.1_CameraWebServer.ino

This commit is contained in:
Zhentao-Lin 2025-03-22 11:36:32 +08:00
parent afd82d9ab6
commit 5bc97e6820

View File

@ -95,7 +95,7 @@ void camera_init() {
config.pin_sccb_scl = SIOC_GPIO_NUM; config.pin_sccb_scl = SIOC_GPIO_NUM;
config.pin_pwdn = PWDN_GPIO_NUM; config.pin_pwdn = PWDN_GPIO_NUM;
config.pin_reset = RESET_GPIO_NUM; config.pin_reset = RESET_GPIO_NUM;
config.xclk_freq_hz = 20000000; config.xclk_freq_hz = 10000000;
config.frame_size = FRAMESIZE_QVGA; config.frame_size = FRAMESIZE_QVGA;
config.pixel_format = PIXFORMAT_JPEG; // for streaming config.pixel_format = PIXFORMAT_JPEG; // for streaming
//config.pixel_format = PIXFORMAT_RGB565; // for face detection/recognition //config.pixel_format = PIXFORMAT_RGB565; // for face detection/recognition