Update TimeLapse.ino

This commit is contained in:
Marcel Ochsendorf 2020-01-30 16:26:14 +01:00 committed by GitHub
parent 83c6ecd763
commit 3889e11ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 4 deletions

View File

@ -3,8 +3,8 @@
#include "camera.h" #include "camera.h"
#include "lapse.h" #include "lapse.h"
const char *ssid = "iPhone von Marcel"; const char *ssid = "...";
const char *password = "00000000"; const char *password = "...";
void startCameraServer(); void startCameraServer();
@ -16,6 +16,11 @@ void setup()
initFileSystem(); initFileSystem();
initCamera(); initCamera();
// startLapse(); -------- IF YOU WANT AUTO START THE TIMELAPSE
WiFi.begin(ssid, password); WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) while (WiFi.status() != WL_CONNECTED)
{ {
@ -29,7 +34,7 @@ void setup()
Serial.print(WiFi.localIP()); Serial.print(WiFi.localIP());
Serial.println("' to connect"); Serial.println("' to connect");
// startLapse();
} }
void loop() void loop()