Skip to content

Commit c3de675

Browse files
author
tnagorran
authored
(Update camera_pins.h) Flash does not work on the esp32cam (espressif#8091)
it is planned to use the flash led but a normal led is configured instead
1 parent e9c131a commit c3de675

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: libraries/ESP32/examples/Camera/CameraWebServer/camera_pins.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@
155155
#define HREF_GPIO_NUM 23
156156
#define PCLK_GPIO_NUM 22
157157

158-
#define LED_GPIO_NUM 33
158+
// 4 for flash led or 33 for normal led
159+
#define LED_GPIO_NUM 4
159160

160161
#elif defined(CAMERA_MODEL_TTGO_T_JOURNAL)
161162
#define PWDN_GPIO_NUM 0

0 commit comments

Comments
 (0)