diff --git a/readme.md b/readme.md index 9e8217eedb26f8287042c19064868b353d76ff5d..b6bba8f472766953884c61909f68d4625b528bda 100644 --- a/readme.md +++ b/readme.md @@ -229,7 +229,7 @@ udp.video.channel.size=128 使用合宙S3时选择 `ESP32S3 Dev Module` ,一般默认就好,可以注意看psram需要设置为禁用。 - 若找不到ESP32S3相关开发板,则说明你的ide上的esp32相关环境未安装2.0以上的版本。添加 + 若找不到ESP32S3相关开发板,则说明你的ide上的esp32相关环境未安装2.0以上的版本。添加(国内不建议使用以下json可以使用本人提供的json地址) ```tex https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json @@ -239,6 +239,23 @@ udp.video.channel.size=128 由于包很大也较多失败率也会很高。 + 所以建议使用我提供的json,虽然后缀看起来是zip,其实只是重命名了一下 + + ```tex + https://gitcode.net/qq_26700087/espressif-mirror/uploads/edeb3963916ca38ef014042d7d212cc5/package_esp32_dev_index.json.zip + ``` + + **选择开发板引脚定义** + + 两个宏注释其中一个,二选一 + + ```cpp + #define CAMERA_MODEL_AI_THINKER + #define HE_ZHOU_S3 + ``` + + + **设置CORE DEBUG 级别** 在arduino ide的 工具 -> CORE DEBUG LEVEL 某些打印至少需要 info级别才能打印。 diff --git a/simpleVideoRecorder/src/simpleVideoRecorder.cpp b/simpleVideoRecorder/src/simpleVideoRecorder.cpp index ed494132aaeb6a9c5980303c78457bce6eacf2e6..04574beb930637aae7e2eb6b865ccdf172caf36d 100644 --- a/simpleVideoRecorder/src/simpleVideoRecorder.cpp +++ b/simpleVideoRecorder/src/simpleVideoRecorder.cpp @@ -4,9 +4,9 @@ #include "UdpClient.hpp" #ifndef OVER_LOAD_CAM_CONF -#define CAMERA_MODEL_AI_THINKER +#define CAMERA_MODEL_AI_THINKER // arduino ide 编译时释放该项选择esp32cam摄像头引脚定义 #define FRAMESIZE FRAMESIZE_VGA -//#define HE_ZHOU_S3 +//#define HE_ZHOU_S3 // arduino ide 编译时释放该项选择合宙S3摄像头引脚定义 #endif #include "cam_pins.h"