 /*
 
  FloatHub Arduino Code
- (c) 2011-2013 Modiot Labs
+ (c) 2011-2014 Modiot Labs
  (begun June 6, 2011)
 
 

    }
    temperature_history[i] = temperature_history[i+1];
  }
  temperature_history[BARO_HISTORY_LENGTH - 1] = (1.8 * bmp.readTemperature()) + 32 - 5.6;

  if(handy > 0)
  {

  //  Setup gps on serial device 3, and make it send only GGA and RMC NMEA sentences
  //

  Serial3.begin(GPS_SERIAL_SPEED);
  delay(1000);

  //
  //	Older GPS
  //

  /*
  Serial3.println("$PSTMNMEACONFIG,0,4800,66,1");
  Serial3.println(F("$PSRF103,00,00,02,01*26"));  //  GGA ON every 2 seconds
  Serial3.println(F("$PSRF103,01,00,00,01*25"));  //  GLL OFF
  Serial3.println(F("$PSRF103,02,00,00,01*26"));  //  GSA OFF
  Serial3.println(F("$PSRF103,03,00,00,01*27"));  //  GSV OFF
  Serial3.println(F("$PSRF103,04,00,02,01*22"));  //  RMC ON every 2 seconds
  Serial3.println(F("$PSRF103,05,00,00,01*21"));  //  VTG Off
  */
  
  //
  //	MTK3339 / Ultimate GPS breakout from Adafruit
  //
  
  Serial3.println("$PMTK314,0,2,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28");
}


