From 1f63a9971f0e77c11f18c51dfe5a288eea6c6adf Mon Sep 17 00:00:00 2001 From: Anatoli Arkhipenko Date: Tue, 19 May 2020 13:36:20 -0400 Subject: [PATCH] Updated to explain WiFi --- esp32-cam/esp32-cam.ino | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/esp32-cam/esp32-cam.ino b/esp32-cam/esp32-cam.ino index 9141921..a72468b 100644 --- a/esp32-cam/esp32-cam.ino +++ b/esp32-cam/esp32-cam.ino @@ -43,6 +43,19 @@ #define CAMERA_MODEL_AI_THINKER #include "camera_pins.h" + +/* +Next one is an include with wifi credentials. +This is what you need to do: + +1. Create a file called "home_wifi_multi.h" in the same folder OR under a separate subfolder of the "libraries" folder of Arduino IDE. (You are creating a "fake" library really - I called it "MySettings"). +2. Place the following text in the file: +#define SSID1 "replace with your wifi ssid" +#define PWD1 "replace your wifi password" +3. Save. + +Should work then +*/ #include "home_wifi_multi.h" //OV2640 cam; @@ -434,7 +447,12 @@ void setup() .ledc_timer = LEDC_TIMER_0, .ledc_channel = LEDC_CHANNEL_0, .pixel_format = PIXFORMAT_JPEG, - .frame_size = FRAMESIZE_VGA, + +// .frame_size = FRAMESIZE_QVGA, + .frame_size = FRAMESIZE_UXGA, +// .frame_size = FRAMESIZE_SVGA, +// .frame_size = FRAMESIZE_QVGA, +// .frame_size = FRAMESIZE_VGA, .jpeg_quality = 12, .fb_count = 2 };