mirror of
https://github.com/easytarget/esp32-cam-webserver.git
synced 2024-02-16 18:18:24 +08:00

Move board hardware and other user options into myconfig Add ability to disable lamp if fitted but not used or wanted Disable the mjpg stream statistics output by default
35 lines
1.1 KiB
C
35 lines
1.1 KiB
C
// Rename this example to 'myconfig.h' and fill in your details.
|
|
// This is in the '.gitignore' file, which helps to keep details secret.
|
|
|
|
// Wifi Credentials
|
|
const char* ssid = "my-access-point-ssid";
|
|
const char* password = "my-access-point-password";
|
|
|
|
// Optional AccessPoint setup, uncomment to enable
|
|
// #define WIFI_AP_ENABLE
|
|
// Set this to fix the accesspoint channel number if desired
|
|
// #define AP_CHAN 5
|
|
|
|
// Give the camera a name for the web interface
|
|
// (nb: this is not the network hostname)
|
|
#define CAM_NAME "ESP32 camera server"
|
|
|
|
// Initial rotation
|
|
// #define CAM_ROTATION 0
|
|
|
|
// Uncomment to disable the led/lamp feature
|
|
// #define LAMP_DISABLE
|
|
|
|
// Uncomment to select your board model
|
|
// Remember to select the appropriate board in the Boards Manager of your IDE/toolchain
|
|
#define CAMERA_MODEL_AI_THINKER // default
|
|
//#define CAMERA_MODEL_WROVER_KIT
|
|
//#define CAMERA_MODEL_ESP_EYE
|
|
//#define CAMERA_MODEL_M5STACK_PSRAM
|
|
//#define CAMERA_MODEL_M5STACK_WIDE
|
|
//#define CAMERA_MODEL_M5STACK_NO_PSRAM
|
|
|
|
// Select camera module used on the board
|
|
#define CAMERA_MODULE_OV2640 // default
|
|
//#define CAMERA_MODULE_OV3660
|