From b6afc0050234baa6d02e6ed9329203a04f07ab94 Mon Sep 17 00:00:00 2001 From: Fltbob Date: Mon, 11 Aug 2014 12:09:08 -0400 Subject: [PATCH 1/4] Update Adafruit_GPS.h --- Adafruit_GPS.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Adafruit_GPS.h b/Adafruit_GPS.h index 375cc6d..01be7ff 100755 --- a/Adafruit_GPS.h +++ b/Adafruit_GPS.h @@ -16,6 +16,7 @@ Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, check license.txt for more information All text above must be included in any redistribution ****************************************/ +// Fllybob added lines 34,35 and 40,41 to add 100mHz update capability #ifndef _ADAFRUIT_GPS_H #define _ADAFRUIT_GPS_H @@ -31,10 +32,14 @@ All text above must be included in any redistribution // different commands to set the update rate from once a second (1 Hz) to 10 times a second (10Hz) // Note that these only control the rate at which the position is echoed, to actually speed up the // position fix you must also send one of the position fix rate commands below too. +// added line below for 10 sec update +#define PMTK_SET_NMEA_UPDATE_100mHZ "$PMTK220,10000*2F" #define PMTK_SET_NMEA_UPDATE_1HZ "$PMTK220,1000*1F" #define PMTK_SET_NMEA_UPDATE_5HZ "$PMTK220,200*2C" #define PMTK_SET_NMEA_UPDATE_10HZ "$PMTK220,100*2F" // Position fix update rate commands. +// added line below for 10 sec update +#define PMTK_API_SET_FIX_CTL_100mHZ "$PMTK300,10000,0,0,0,0*2C" #define PMTK_API_SET_FIX_CTL_1HZ "$PMTK300,1000,0,0,0,0*1C" #define PMTK_API_SET_FIX_CTL_5HZ "$PMTK300,200,0,0,0,0*2F" // Can't fix position faster than 5 times a second! From 203d43900cc996e29db62077191a42945e83eb0c Mon Sep 17 00:00:00 2001 From: Fltbob Date: Mon, 11 Aug 2014 12:11:12 -0400 Subject: [PATCH 2/4] Update shield_sdlog.ino --- examples/shield_sdlog/shield_sdlog.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/shield_sdlog/shield_sdlog.ino b/examples/shield_sdlog/shield_sdlog.ino index 55632fc..c32f62c 100644 --- a/examples/shield_sdlog/shield_sdlog.ino +++ b/examples/shield_sdlog/shield_sdlog.ino @@ -124,7 +124,7 @@ void setup() { // For logging data, we don't suggest using anything but either RMC only or RMC+GGA // to keep the log files at a reasonable size // Set the update rate - GPS.sendCommand(PMTK_SET_NMEA_UPDATE_1HZ); // 1 or 5 Hz update rate + GPS.sendCommand(PMTK_SET_NMEA_UPDATE_1HZ); // 100mHz,1Hz or 5Hz update rate // Turn off updates on antenna status, if the firmware permits it GPS.sendCommand(PGCMD_NOANTENNA); From 5b5121461961724f7ff89543c1d382db10d51c24 Mon Sep 17 00:00:00 2001 From: Fltbob Date: Mon, 11 Aug 2014 12:12:23 -0400 Subject: [PATCH 3/4] Update shield_sdlog.ino --- examples/shield_sdlog/shield_sdlog.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/shield_sdlog/shield_sdlog.ino b/examples/shield_sdlog/shield_sdlog.ino index c32f62c..757030b 100644 --- a/examples/shield_sdlog/shield_sdlog.ino +++ b/examples/shield_sdlog/shield_sdlog.ino @@ -16,7 +16,7 @@ // ------> http://www.adafruit.com/products/ // Pick one up today at the Adafruit electronics shop // and help support open source hardware & software! -ada - +// Fllybob added 10 sec logging option SoftwareSerial mySerial(8, 7); Adafruit_GPS GPS(&mySerial); From 1a8a9f46c48bdfbdc71b93a2866a76340043239f Mon Sep 17 00:00:00 2001 From: Fltbob Date: Mon, 11 Aug 2014 12:13:21 -0400 Subject: [PATCH 4/4] Update Adafruit_GPS.h --- Adafruit_GPS.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_GPS.h b/Adafruit_GPS.h index 01be7ff..5a231c9 100755 --- a/Adafruit_GPS.h +++ b/Adafruit_GPS.h @@ -16,7 +16,7 @@ Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, check license.txt for more information All text above must be included in any redistribution ****************************************/ -// Fllybob added lines 34,35 and 40,41 to add 100mHz update capability +// Fllybob added lines 34,35 and 40,41 to add 100mHz logging capability #ifndef _ADAFRUIT_GPS_H #define _ADAFRUIT_GPS_H