|
@@ -46,7 +46,7 @@
|
|
|
|
|
|
|
|
#include "esp_camera.h"
|
|
#include "esp_camera.h"
|
|
|
|
|
|
|
|
-#define ESP32_S3_KORVO 1 //ESP32-S3-KORVO-2_V3.0配套的自定义引脚
|
|
|
|
|
|
|
+#define ESP32_S3_HEZHOU 1 //ESP32-S3-KORVO-2_V3.0配套的自定义引脚
|
|
|
|
|
|
|
|
// WROVER-KIT PIN Map
|
|
// WROVER-KIT PIN Map
|
|
|
#ifdef BOARD_WROVER_KIT
|
|
#ifdef BOARD_WROVER_KIT
|
|
@@ -133,6 +133,26 @@
|
|
|
#define CAM_PIN_D7 39
|
|
#define CAM_PIN_D7 39
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+// ESP32-S3-合宙的开发板
|
|
|
|
|
+#ifdef ESP32_S3_HEZHOU
|
|
|
|
|
+#define CAM_PIN_PWDN -1 //没用直接接高
|
|
|
|
|
+#define CAM_PIN_RESET -1 //software reset will be performed
|
|
|
|
|
+#define CAM_PIN_VSYNC 42
|
|
|
|
|
+#define CAM_PIN_HREF 41
|
|
|
|
|
+#define CAM_PIN_PCLK 36
|
|
|
|
|
+#define CAM_PIN_XCLK 39
|
|
|
|
|
+#define CAM_PIN_SIOD 21
|
|
|
|
|
+#define CAM_PIN_SIOC 46
|
|
|
|
|
+#define CAM_PIN_D0 34
|
|
|
|
|
+#define CAM_PIN_D1 47
|
|
|
|
|
+#define CAM_PIN_D2 48
|
|
|
|
|
+#define CAM_PIN_D3 33
|
|
|
|
|
+#define CAM_PIN_D4 35
|
|
|
|
|
+#define CAM_PIN_D5 37
|
|
|
|
|
+#define CAM_PIN_D6 38
|
|
|
|
|
+#define CAM_PIN_D7 40
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
static const char *TAG = "example:take_picture";
|
|
static const char *TAG = "example:take_picture";
|
|
|
|
|
|
|
|
#if ESP_CAMERA_SUPPORTED
|
|
#if ESP_CAMERA_SUPPORTED
|