Compare commits
	
		
			2 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| cc609653da | |||
| af882b5a3b | 
							
								
								
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| .pio | ||||
| .vscode/.browse.c_cpp.db* | ||||
| .vscode/c_cpp_properties.json | ||||
| .vscode/launch.json | ||||
| .vscode/ipch | ||||
							
								
								
									
										7
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| { | ||||
|     // See http://go.microsoft.com/fwlink/?LinkId=827846 | ||||
|     // for the documentation about the extensions.json format | ||||
|     "recommendations": [ | ||||
|         "platformio.platformio-ide" | ||||
|     ] | ||||
| } | ||||
| @@ -13,8 +13,8 @@ platform = espressif32 | ||||
| board = esp32cam | ||||
| framework = arduino | ||||
| board_build.partitions = customparts.csv | ||||
| ;upload_port = COM6		;com port of the ESP32-cam | ||||
| upload_port = x.x.x.x	;ip address of the ESP32-cam | ||||
| upload_port = /dev/ttyUSB0		;com port of the ESP32-cam | ||||
| ; upload_port = x.x.x.x	;ip address of the ESP32-cam | ||||
| build_flags =  | ||||
| 	; -DBOARD_HAS_PSRAM=TRUE | ||||
| 	-DLED_BUILTIN=4 | ||||
|   | ||||
| @@ -33,7 +33,11 @@ void setup() | ||||
|  | ||||
| 	// Initialize the ESP32 CAM, here we use the AIthinker ESP32 CAM | ||||
| 	delay(100); | ||||
| 	cam.init(esp32cam_aithinker_config); | ||||
| 	camera_config_t cfg=esp32cam_aithinker_config; | ||||
| 	cfg.frame_size=FRAMESIZE_XGA; | ||||
| 	cfg.jpeg_quality=25; | ||||
| 	cfg.fb_count=1; // 2 causes interference-like streaking | ||||
| 	cam.init(cfg); | ||||
| 	delay(100); | ||||
|  | ||||
| 	//LED settings | ||||
|   | ||||
| @@ -116,7 +116,7 @@ void handle_jpg_stream(void) | ||||
|  | ||||
| 		thisClient.write((char *)cam.getfb(), cam.getSize()); | ||||
| 		server1.sendContent("\r\n"); | ||||
| 		delay(20); | ||||
| 		delay(100); // 10 fps | ||||
| 	} | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| #include <Arduino.h> | ||||
| // Change YOUR_AP_NAME and YOUR_AP_PASSWORD to your WiFi credentials | ||||
| const char *ssid = "YOUR_SSID";		   // Put your SSID here | ||||
| const char *password = "YOUR_PASSWORD"; // Put your PASSWORD here | ||||
| const char *ssid = "ncc74656";		   // Put your SSID here | ||||
| const char *password = "Rw7qfY5tmtaWbXaWQ5aMSRkF"; // Put your PASSWORD here | ||||
		Reference in New Issue
	
	Block a user