 #include <Adafruit_TSL2561_U.h> //Luminosity Sensor
 
 /*Deffinations*/
-int ledPin = 5; //Pin for LEDs
-
  //Accel
- #define DS1307_ADDRESS 0x86;//Need to get updated I2C Address
- byte zero = 0x00; //Needed as a workaround for issue #537 RTC Support
+ #define DS1307_ADDRESS 0x86; //10000110, I2C address of ADXL345
  Adafruit_ADXL345_Unified accel = Adafruit_ADXL345_Unified(12345);
 
  //RTC

  }

	/*Accel*/
  sensors_event_t events;
  accel.getEvent(&events);
	dataFile.print(events.acceleration.x);
  dataFile.print(",");
  dataFile.print(events.acceleration.y);
  dataFile.print(",");
  dataFile.print(events.acceleration.z);
  dataFile.print(",");
  Serial.print(events.acceleration.x);
	Serial.print(events.acceleration.y);
	Serial.print(events.acceleration.z);

	/*Humidity*/
  float temperature = 25; //replace with a thermometer reading if you have it
  float relativeHumidity  = getHumidity(T);
  dataFile.print(relativeHumidity);
  dataFile.print(",");
  Serial.println(relativeHumidity);
	/*Luminosity*/
  sensors_event_t event;
  tsl.getEvent(&event);
  if (event.light)
  {
    Serial.print(event.light); Serial.println(" lux");
    dataFile.print(event.light);
    dataFile.print(",");
  }
  else
  {
    Serial.println("Sensor overload");
  }

	/*UV Sensor*/

  dataFile.print(now.second(), DEC);
  dataFile.print(",");

  /*Barometer*/

  char status;
  double T,P,p0,a;
  status = pressure.startTemperature();

  if (status != 0)
  {
    delay(status);
    status = pressure.getTemperature(T);
    if (status != 0) //If status does not = zero there was an error starting temp measurement
    {
      //Print to Serial
      Serial.print("temp: ");
      Serial.print((9.0/5.0)*T+32.0,2);
      Serial.println(" deg F");
      //Write to SD
      dataFile.print((9.0/5.0)*T+32.0,2);
      dataFile.print(",");

