     while (not Serial.available()){
         delay(10);
     }
+    while (Serial.available()){
+        Serial.read();
+    }
+
 
     //format for datafile is Yx, Yy, Yz, Wx, Wy, Wz, 1
     //for this orientation Yx = 0, Yy = -1, Yz = 0

    while (not Serial.available()){
        delay(10);
    }

    //format for datafile is Yx, Yy, Yz, Wx, Wy, Wz, 1
    //for this orientation Yx = 0, Yy = 0, Yz = -1


    Serial.println("DELETE BEFORE SAVING:  Data Acquisition Complete.  Delete all lines marked as DELETE BEFORE SAVING.");
    Serial.println("DELETE BEFORE SAVING:  Save file as 'accelData.txt' and run octave/matlab file to complete computation of calibration constants.");
    while (true){
        delay(1000);
    }
}

