 volatile bool mpuInterrupt = false;     // indicates whether MPU interrupt pin has gone high
 void dmpDataReady() {
     mpuInterrupt = true;
-}
-//===========================================================================//
-
-/*GPIO Control Callback*/
-void gpio(OSCMessage &msg)
-{
-  if (msg.isInt(0) && msg.isInt(1))
-  {
-    for(uint8_t i = 0; i<gpio_len; i++){
-      if(msg.getInt(0) == gpios[i])
-        digitalWrite(gpios[i], msg.getInt(1)); //LED is on LOW
-    }
-  }
 }
 //===========================================================================//
 


/*UDP Scheduler*/
long old_time, curret_time = 0;
long delay_time = 10; //interval between UDP sends *NEEDED! Will crash otherwise
uint8_t old_val = 0;
//===========================================================================//



int status = 0;     // the Wifi radio's status

IPAddress outIp(255, 255, 255, 255); //broadcast UDP
//===========================================================================//

/*UDP*/
WiFiUDP Udp; //make ESP8266 Udp instance
const unsigned int inPort = 8888;
const unsigned int outPort = 9999;
