Datasheet

Parsing Data
Since all GPS's output NMEA sentences and often for our projects we need to extract the actual
data from them, we've simplified the task tremendously when using the Adafruit GPS library. By
having the library read, store and parse the data in a background interrupt it becomes trivial to
query the library and get the latest updated information without any icky parsing work.
If you're using an Uno/Duemilanove/Diecimila...
Make sure the switch is set to SoftSerial
Open up the File®® Examples®® Adafruit_GPS®® parsing sketch and change the line
SoftwareSerial mySerial(3, 2);
to
SoftwareSerial mySerial(8, 7);
and upload it to the Arduino. Then open up the serial monitor.
If you're using a Leonardo..
Make sure the switch is set to SoftSerial
Change SoftwareSerial mySerial(3, 2); to SoftwareSerial mySerial(8, 7); as above, and also
change
useInterrupt(true);
to
useInterrupt(false);
Because due to strange internal-details stuff, we cant use Software Serial, interrupts and also echo
the output via USB at the same time on Leonardo.
You'll want to wait till you get a fix so stick the GPS out the window or use an antenna
© Adafruit Industries https://learn.adafruit.com/adafruit-ultimate-gps-logger-shield Page 17 of 34