diff --git a/examples/camera_example/main/take_picture.c b/examples/camera_example/main/take_picture.c index f9df7f7b1a..6ef6881652 100644 --- a/examples/camera_example/main/take_picture.c +++ b/examples/camera_example/main/take_picture.c @@ -9,6 +9,7 @@ // #define BOARD_ESP32CAM_AITHINKER // #define BOARD_ESP32S3_WROOM // #define BOARD_ESP32S3_GOOUUU +// #define BOARD_ESP32S3_XIAO /** * 2. Kconfig setup @@ -132,6 +133,24 @@ #define CAM_PIN_D6 17 #define CAM_PIN_D7 16 #endif +#ifdef BOARD_ESP32S3_XIAO +#define CAM_PIN_PWDN -1 +#define CAM_PIN_RESET -1 //software reset will be performed +#define CAM_PIN_VSYNC 38 +#define CAM_PIN_HREF 47 +#define CAM_PIN_PCLK 13 +#define CAM_PIN_XCLK 10 +#define CAM_PIN_SIOD 40 +#define CAM_PIN_SIOC 39 +#define CAM_PIN_D0 15 +#define CAM_PIN_D1 17 +#define CAM_PIN_D2 18 +#define CAM_PIN_D3 16 +#define CAM_PIN_D4 14 +#define CAM_PIN_D5 12 +#define CAM_PIN_D6 11 +#define CAM_PIN_D7 48 +#endif static const char *TAG = "example:take_picture"; #if ESP_CAMERA_SUPPORTED