   attachInterrupt(MEASUREMENTPIN, pininterrupt, CHANGE); //trigger both rising and falling
 
 
- 
+
 
 
   config.useDHCP = true;

  delay(200); //wait for power to stabilize
  Serial.begin(115200);
  memset(measurementdata, 0, sizeof(measurementdata));
  Serial.println(F("\r\nMutatio grid frequency tracker, part of netzsin.us project"));

  EEPROM.begin(256); //eeprom emulation on flash, the ESP8266 has no actual EERPOM

      initOTAupdate();
      SDwriteLogfile("WIFI connected");

      // plotly_init(true); //!!! comment this line if not using plotly server

    }
    ArduinoOTA.handle();

