From 477ee9b49173a4e7db9de45cef34959987194c18 Mon Sep 17 00:00:00 2001 From: tnagorran <109517029+tnagorran@users.noreply.github.com> Date: Mon, 17 Apr 2023 19:03:34 +0300 Subject: [PATCH] (Update camera_pins.h) Flash does not work on the esp32cam it is planned to use the flash led but a normal led is configured instead --- libraries/ESP32/examples/Camera/CameraWebServer/camera_pins.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/ESP32/examples/Camera/CameraWebServer/camera_pins.h b/libraries/ESP32/examples/Camera/CameraWebServer/camera_pins.h index d5d51a21e07..ec9663602db 100644 --- a/libraries/ESP32/examples/Camera/CameraWebServer/camera_pins.h +++ b/libraries/ESP32/examples/Camera/CameraWebServer/camera_pins.h @@ -155,7 +155,8 @@ #define HREF_GPIO_NUM 23 #define PCLK_GPIO_NUM 22 -#define LED_GPIO_NUM 33 +// 4 for flash led or 33 for normal led +#define LED_GPIO_NUM 4 #elif defined(CAMERA_MODEL_TTGO_T_JOURNAL) #define PWDN_GPIO_NUM 0