+String version = "0.1.2";
 /*
   - OPEN BB-X -
  A open source BB-8 for create you own BB-8!

    	Serial.print(Zangle);
    	
    	Serial.println(" ");
    }
}

bool LED_PING   = false;
bool BOOT = false;

bool ifPing    = false;
int tmpPing    = 0;
int tmpPing2   = 0;
int pingMaster = 0;

//=============================================================================//
//   SETUP
//=============================================================================//
void setup()
{
    pinMode( pinEnable   , OUTPUT );
    pinMode( pinDirX     , OUTPUT );
    pinMode( pinStepX    , OUTPUT );
    pinMode( pinDirY     , OUTPUT );
    pinMode( pinStepY    , OUTPUT );
    pinMode( PING        , OUTPUT );
    pinMode( PING_MASTER , INPUT  );
    pinMode( Z_POSITION  , INPUT  );
    
    
    Serial.begin(9600);
    Serial.println("Booting up...");
    Serial.println(" ");
    Serial.println("_ Astromech Industrie _");
    Serial.print("  BB-8 Version ");
    Serial.println(version);
    Serial.println("===================");
    Serial.println(" ");
    


    
    Serial.print("Initializing I2C devices...  I2C ADRESS :");
    Serial.print(adress);
  
    Wire.begin(adress);
    
    accelgyro.initialize();
	Serial.println(" [ OK ]");

    Serial.print("Connect to the MPU6050 : ");
    Serial.println(accelgyro.testConnection());
    //Serial.println(accelgyro.testConnection() ? "Connection successful" : "Connection failed");
    
    Serial.println("Booting successful !");
    Serial.println("====================");
    

}

