Datasheet
And further below:
Should all be uncommented and look as above. This will configure the code to write GPS NMEA data to
the /sd/gps.txt file, appending new data to the end of the file.
Once the example is running as a main.py on your board open the serial REPL and you should see the raw NMEA
sentences printed out:
Check the gps.txt file (either under the root or /sd path depending on how you setup the example) in a text editor and
you'll see the same raw NMEA sentences:
# Path to the file to log GPS data. By default this will be appended to
# which means new lines are added at the end and all old data is kept.
# Change this path to point at internal storage (like '/gps.txt') or SD
# card mounted storage ('/sd/gps.txt') as desired.
#LOG_FILE = '/gps.txt' # Example for writing to internal path /gps.txt
LOG_FILE = '/sd/gps.txt' # Example for writing to SD card path /sd/gps.txt
© Adafruit Industries https://learn.adafruit.com/adafruit-ultimate-gps Page 26 of 40










