   dataFile = SD.open(FILENAME, FILE_WRITE);
 
   // If the file is available, write to it:
-  dataFile.println("Accel X, Accel Y, Accel Z, Yaw, Timestamp");
+  dataFile.println("Accel X, Accel Y, Accel Z, Roll, Timestamp");
   dataFile.close();
 }
 

    sdWrite(accel_event.acceleration.x);
    sdWrite(accel_event.acceleration.y);
    sdWrite(accel_event.acceleration.z);
    sdWrite(accel_event.orientation.roll);
    sdWriteNewline();  
  }
  closeSd();

#include <String.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_10DOF.h>
#include <Adafruit_Simple_AHRS.h>

/* Assign a unique ID to the sensors */
Adafruit_10DOF   dof();
