 
 void blinkLED(int del, int n) {
   for (int i = 0; i < n; i++) {
-    digitalWrite(13, HIGH);
+    digitalWrite(LED, HIGH);
     delay(del);
-    digitalWrite(13, LOW);
+    digitalWrite(LED, LOW);
     delay(del);
   }
 }
-
-float getAverage() {
-  return runningSum / 10;
-}

}

void setupIMU() {
  Serial.print("Setting up IMU...");
  imu.settings.device.commInterface = IMU_MODE_I2C;
  imu.settings.device.mAddress = LSM9DS1_M;
  imu.settings.device.agAddress = LSM9DS1_AG;
  while (!imu.begin()) {
    blinkLED(500, 1);
  }  
}

float readGyro() {

/**********************************************************************
 * Arduino Uno Program - Controls Servo and Reads IMU                 *
 * Project: Eclipse Tracking (2017)                                   *
 * Version: 1.0 (3/18/2017)                                           *
 * Max Bowman / Jeremy Seeman                                         *
 **********************************************************************/
#include <Servo.h>
