From afe1961db1d11a651dc1071fc1c7bfbd30f2a178 Mon Sep 17 00:00:00 2001 From: Alan <60433566+alanesq@users.noreply.github.com> Date: Fri, 14 Jul 2023 11:19:48 +0100 Subject: [PATCH] Update ESP32cam-demo.ino --- ESP32cam-demo.ino | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/ESP32cam-demo.ino b/ESP32cam-demo.ino index 815d63a..6cce229 100644 --- a/ESP32cam-demo.ino +++ b/ESP32cam-demo.ino @@ -47,8 +47,8 @@ // Enter your Wifi Settings here - #define SSID_NAME "" - #define SSID_PASWORD "" + #define SSID_NAME "your wifi here" + #define SSID_PASWORD "your wifi password here" // --------------------------------------------------------------------------------------------------------- @@ -84,9 +84,8 @@ // -SETTINGS // --------------------------------------------------------------- - //const char* stitle = "ESP32Cam-demo"; // title of this sketch - const char* stitle = "ESP32-DomeCam1"; // title of this sketch - const char* sversion = "07Jan23"; // Sketch version + const char* stitle = "ESP32Cam-demo"; // title of this sketch + const char* sversion = "14Jul23"; // Sketch version bool sendRGBfile = 0; // if set '/rgb' will just return raw rgb data which can be saved as a file rather than display a HTML pag @@ -99,7 +98,7 @@ // Camera related bool flashRequired = 1; // If flash to be used when capturing image (1 = yes) - framesize_t FRAME_SIZE_IMAGE = FRAMESIZE_XGA; // Image resolution: + framesize_t FRAME_SIZE_IMAGE = FRAMESIZE_SVGA; // Image resolution: // default = "const framesize_t FRAME_SIZE_IMAGE = FRAMESIZE_VGA" // 160x120 (QQVGA), 128x160 (QQVGA2), 176x144 (QCIF), 240x176 (HQVGA), // 320x240 (QVGA), 400x296 (CIF), 640x480 (VGA, default), 800x600 (SVGA), @@ -681,7 +680,7 @@ void changeResolution(framesize_t tRes = FRAMESIZE_96X96) { if (tRes == FRAMESIZE_96X96) { // taken as none supplied so cycle through several if (FRAME_SIZE_IMAGE == FRAMESIZE_QVGA) tRes = FRAMESIZE_VGA; else if (FRAME_SIZE_IMAGE == FRAMESIZE_VGA) tRes = FRAMESIZE_XGA; - else if (FRAME_SIZE_IMAGE == FRAMESIZE_XGA) tRes = FRAMESIZE_UXGA; + //else if (FRAME_SIZE_IMAGE == FRAMESIZE_XGA) tRes = FRAMESIZE_UXGA; else tRes = FRAMESIZE_QVGA; } FRAME_SIZE_IMAGE = tRes;