 // region includes
 #include <i2c_t3.h>
 #include <SPI.h>
+#include <TinyGPS++.h>
 
 #include <Data_module.h>
 #include <Sensor_helper.h>


  // begin I2C for MPU IMU
  Wire1.begin(I2C_MASTER, 0x000, I2C_PINS_29_30, I2C_PULLUP_EXT, I2C_RATE_400);
  
  // begin SPI for high-accuracy gyro
  SPI.begin();


}

void loop() {
  readGPS();

  readIMU();
  readGyro();

  delay(200);
  dataModule.println(getIMULogString(accelData)+getIMULogString(gyroData)+getIMULogString(magData));
  dataModule.println(getGyroLogString(L3G4200DData));
  dataModule.println("Got " + String(gps.charsProcessed(), DEC) + " chars");
}

// ------------------------------------------------------------
