#include <stdio.h> #include <ESPAsync_WiFiManager.h> AsyncWebServer server(80); DNSServer dnsServer; #define host "TMR01" String station = "TMR01"; #define OK Serial.println("ok"); #define NOT_OK Serial.println("Not ok"); #define MEM_INFO MyMemInfo(); /*#include <FirebaseESP8266.h> #define tmr_debug false #define FIREBASE_HOST "wt-.firebaseio.com" #define FIREBASE_AUTH "JpQKm0dK7vMYc86gaJKDQyquDMEPgPNQti8lAAA" FirebaseData fbdo; FirebaseJson json;*/ unsigned long stTime; unsigned long useTime; unsigned long total_mem; unsigned long total_use; FSInfo fs_info; int Year=21,Month=2,Day=9,Hour=0,Minute =0; float Rh=0.00, Rt=0.00, Tp1=0.00, Tp2=0.00; String fname, sTm, sRh,sRt,sT1,sT2; char buf[200]; void MyMemInfo(){ //----------------------------- useTime=millis()-stTime; Serial.print ("Format time = "); Serial.print(useTime