#define uS_TO_S_FACTOR 1000000 /* Conversion factor for micro seconds to seconds */
#define TIME_TO_SLEEP 80 // 1800
//#define TIME_TO_SLEEP 50 // 1800
#include <SPI.h>
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
#include <WiFiClient.h>
#include <ThingSpeak.h>
#include <WiFiUdp.h>
#include <ArduinoOTA.h>
#include <PubSubClient.h>
extern "C" {
#include "user_interface.h" // this is for the RTC memory read/write functions
}
//ESP8266WebServer server(80);
// create web server
ESP8266WebServer httpServer(80);
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
So habe ich einfach mal diesen Sketch neu erstellt.
Kompiliert und geht.
Kopie im Ordner angelegt.... Kompiliert ..... Fehler
Kopie wider gelöscht .... geht.