   Serial.print("Connecting to ");        // connect to WiFi
   Serial.println(ssid);
   WiFi.mode(WIFI_STA);
+  WiFi.config(statIP, gateway, subnet);
   WiFi.begin(ssid, password);
-  //WiFi.config(ip, gateway, subnet);
   while (WiFi.waitForConnectResult() != WL_CONNECTED) {
     delay(3000);
     ESP.restart();

#define OTA_LED_PIN LED_PIN
#define LED_PIN 2


WiFiUDP udp;

const char* ssid = "TCT";
const char* password = "nosotros";
const char* deviceName = "TCT01";

IPAddress mIP(239, 0, 0, 100);    // multicast ip address
unsigned int mPort = 7777;        // multicast port

TickerScheduler schedule(5);      // schedule(number of task tickers)
long heartBeat;                   // heartBeat timer

#include <WiFiUdp.h>
#include <OSCMessage.h>
#include <OSCBundle.h>
#include <ArduinoJson.h>
#include "FS.h"
#include <TickerScheduler.h>
