 //Barometer variables
 float pressure;
 float atm;
-float altitude;
 Barometer myBarometer;
 
 //Accelerometer variables

  // If the file opened okay, write to it:
  if (dataFile) {
    //Serial.print("Writing to test.txt...");
    dataFile.println("Logging: row, lat, lon, time, sound, brightness, vibration, pressure.");
    // close the file:
    dataFile.close();
    //Serial.println("done.");

  Wire.begin();
  //Initialize Accelerometer
  accelgyro.initialize();
  //Serial.println(accelgyro.testConnection() ? F("MPU6050 connection successful") : F("MPU6050 connection failed"));

  delay(1000);

