     to_send_next_pos++;
   }
 }
-
-=======
->>>>>>> Stashed changes
-=======
->>>>>>> Stashed changes
-=======
->>>>>>> Stashed changes
 
 void setup() {
   Serial1.begin(19200);

#include <SFE_LSM9DS0.h>
#include <TinyGPS++.h>


#define LSM9DS0_XM  0x1D // Would be 0x1E if SDO_XM is LOW
#define LSM9DS0_G   0x6B // Would be 0x6A if SDO_G is LOW
LSM9DS0 dof(MODE_I2C, LSM9DS0_G, LSM9DS0_XM);

inline uint16_t softcrcXMODEM(uint16_t seed, uint8_t *data, uint16_t datalen) {
    for (uint16_t i=0; i<datalen; i++) {
        seed = _crc_xmodem_update(seed,  data[i]);
    }
    return seed;
}

SFE_BMP180 pressure;
TinyGPSPlus gps;

    Serial1.write((byte) to_send[k]);
  }

  crc = softcrc(0, to_send, to_send_next_pos);

  byte hi = crc >> 8;
  byte lo = crc & 0xFF;
