From de48d0b008e35cddd7371b95016bf974a13f7062 Mon Sep 17 00:00:00 2001 From: jomjol Date: Mon, 17 Mar 2025 19:40:57 +0100 Subject: [PATCH] Update defines.h --- code/include/defines.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/code/include/defines.h b/code/include/defines.h index 2c9cf154..fdae30cd 100644 --- a/code/include/defines.h +++ b/code/include/defines.h @@ -331,6 +331,27 @@ #define GPIO_SDCARD_D3 GPIO_NUM_13 #endif + /* + #define PWDN_GPIO_NUM -1 + #define RESET_GPIO_NUM -1 + #define XCLK_GPIO_NUM GPIO_NUM_15 + #define SIOD_GPIO_NUM GPIO_NUM_4 + #define SIOC_GPIO_NUM GPIO_NUM_5 + + #define Y9_GPIO_NUM GPIO_NUM_16 + #define Y8_GPIO_NUM GPIO_NUM_17 + #define Y7_GPIO_NUM GPIO_NUM_18 + #define Y6_GPIO_NUM GPIO_NUM_12 + #define Y5_GPIO_NUM GPIO_NUM_10 + #define Y4_GPIO_NUM GPIO_NUM_8 + #define Y3_GPIO_NUM GPIO_NUM_9 + #define Y2_GPIO_NUM GPIO_NUM_11 + #define VSYNC_GPIO_NUM GPIO_NUM_6 + #define HREF_GPIO_NUM GPIO_NUM_7 + #define PCLK_GPIO_NUM GPIO_NUM_13 + */ + + #define CAM_PIN_PWDN GPIO_NUM_NC #define CAM_PIN_RESET GPIO_NUM_NC //software reset will be performed #define CAM_PIN_XCLK GPIO_NUM_15 @@ -346,7 +367,7 @@ #define CAM_PIN_D1 GPIO_NUM_9 #define CAM_PIN_D0 GPIO_NUM_11 #define CAM_PIN_VSYNC GPIO_NUM_6 - #define CAM_PIN_HREF GPIO_NUM_37 + #define CAM_PIN_HREF GPIO_NUM_7 #define CAM_PIN_PCLK GPIO_NUM_13 //Statusled + ClassControllCamera