2024-07-02-04
Platine defekt??
This commit is contained in:
parent
03dfb77954
commit
8c1dbf1647
|
@ -12,8 +12,8 @@
|
||||||
platform = espressif32
|
platform = espressif32
|
||||||
board = esp32cam
|
board = esp32cam
|
||||||
framework = arduino
|
framework = arduino
|
||||||
upload_port = /dev/ttyUSB0
|
upload_port = /dev/ttyUSB1
|
||||||
monitor_port = /dev/ttyUSB0
|
monitor_port = /dev/ttyUSB1
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
|
|
||||||
lib_deps =
|
lib_deps =
|
||||||
|
|
12
src/main.cpp
12
src/main.cpp
|
@ -25,8 +25,8 @@
|
||||||
#include "esp_http_server.h"
|
#include "esp_http_server.h"
|
||||||
|
|
||||||
//Replace with your network credentials
|
//Replace with your network credentials
|
||||||
const char* ssid = "St.-Peters-Gasse";
|
const char* ssid = "MagentaWLAN-RGDO";
|
||||||
const char* password = "1952994784599317";
|
const char* password = "93329248424922704583";
|
||||||
|
|
||||||
IPAddress ip( 192, 168, 127, 230 );
|
IPAddress ip( 192, 168, 127, 230 );
|
||||||
IPAddress gateway( 192, 168, 127, 1 );
|
IPAddress gateway( 192, 168, 127, 1 );
|
||||||
|
@ -212,14 +212,16 @@ void startCameraServer(){
|
||||||
}
|
}
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable brownout detector
|
//WRITE_PERI_REG(RTC_CNTL_BROWN_OUT_REG, 0); //disable brownout detector
|
||||||
|
|
||||||
Serial.begin(115200);
|
Serial.begin(115200);
|
||||||
Serial.setDebugOutput(true);
|
Serial.setDebugOutput(true);
|
||||||
Serial.println("START");
|
Serial.println("START");
|
||||||
|
delay(5000);
|
||||||
Serial.println("Jetzt geht s weiter....");
|
Serial.println("Jetzt geht s weiter....");
|
||||||
|
delay(5000);
|
||||||
|
|
||||||
camera_config_t config;
|
/* camera_config_t config;
|
||||||
config.ledc_channel = LEDC_CHANNEL_0;
|
config.ledc_channel = LEDC_CHANNEL_0;
|
||||||
config.ledc_timer = LEDC_TIMER_0;
|
config.ledc_timer = LEDC_TIMER_0;
|
||||||
config.pin_d0 = Y2_GPIO_NUM;
|
config.pin_d0 = Y2_GPIO_NUM;
|
||||||
|
@ -279,7 +281,7 @@ void setup() {
|
||||||
Serial.println(WiFi.localIP());
|
Serial.println(WiFi.localIP());
|
||||||
|
|
||||||
// Start streaming web server
|
// Start streaming web server
|
||||||
startCameraServer();
|
startCameraServer(); */
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user