 
 /* Wifi Static configuration. It can be turned off (to obtain it from DHCP). */
 #define WIFI_STATIC_CONF false
-#define WIFI_STATIC_CONF_IP IPAddress(192, 168, 95, 210)
+#define WIFI_STATIC_CONF_IP IPAddress(192, 168, 95, 5)
 #define WIFI_STATIC_CONF_DNS IPAddress(192, 168, 95, 254)
 #define WIFI_STATIC_CONF_GW IPAddress(192, 168, 95, 254)
 


    batteryCheck();

    long processingTime = millis() - startTime;
    Serial.println(((String)"Cycle took: ") + processingTime + " ms");

    deepSleep(SLEEP_SECONDS);
}

void batteryCheck() {

      WiFi.begin(ssid, ssidPass);
    }

    int i = 0;
    while (ticksWait-- > 0 && WiFi.status() != WL_CONNECTED) {
      Serial.print(".");
      Serial.print(WiFi.status());

      if ((i++ % 10) == 0) {
        digitalWrite(LED_BUILTIN, LOW);
        delay(5);
        digitalWrite(LED_BUILTIN, HIGH);
      }

      delay(delayMs);
    }
