Skip to content

Commit 9befde1

Browse files
authored
1 parent 00c3042 commit 9befde1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

examples/camera_example/main/take_picture.c

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// #define BOARD_ESP32CAM_AITHINKER
1010
// #define BOARD_ESP32S3_WROOM
1111
// #define BOARD_ESP32S3_GOOUUU
12+
// #define BOARD_ESP32S3_XIAO
1213

1314
/**
1415
* 2. Kconfig setup
@@ -132,6 +133,24 @@
132133
#define CAM_PIN_D6 17
133134
#define CAM_PIN_D7 16
134135
#endif
136+
#ifdef BOARD_ESP32S3_XIAO
137+
#define CAM_PIN_PWDN -1
138+
#define CAM_PIN_RESET -1 //software reset will be performed
139+
#define CAM_PIN_VSYNC 38
140+
#define CAM_PIN_HREF 47
141+
#define CAM_PIN_PCLK 13
142+
#define CAM_PIN_XCLK 10
143+
#define CAM_PIN_SIOD 40
144+
#define CAM_PIN_SIOC 39
145+
#define CAM_PIN_D0 15
146+
#define CAM_PIN_D1 17
147+
#define CAM_PIN_D2 18
148+
#define CAM_PIN_D3 16
149+
#define CAM_PIN_D4 14
150+
#define CAM_PIN_D5 12
151+
#define CAM_PIN_D6 11
152+
#define CAM_PIN_D7 48
153+
#endif
135154
static const char *TAG = "example:take_picture";
136155

137156
#if ESP_CAMERA_SUPPORTED

0 commit comments

Comments
 (0)