 
 String lastUpdate = "--";
 
+#if defined(ESP8266)
 Ticker ticker;
+#else
+long timeSinceLastWUpdate = 0;
+#endif
 
 //declaring prototypes
 void configModeCallback (WiFiManager *myWiFiManager);


// Display Settings
const int I2C_DISPLAY_ADDRESS = 0x3c;
const int SDA_PIN = 0;
const int SDC_PIN = 2;

// TimeClient settings
const float UTC_OFFSET = 2;

  //Manual Wifi
  //WiFi.begin(WIFI_SSID, WIFI_PWD);
  String hostname(HOSTNAME);
  hostname += ESPChipID();
#if defined(ESP8266)
  WiFi.hostname(hostname);
#else
  MDNS.begin((char *)&hostname);
#endif


  int counter = 0;
