Datasheet
code over the USB drive as normal. Remove the alligator clip, reset the board, and the boot.py will switch to mounting
the internal filesystem as writable so you can log images to it again (but not write any code!).
Remember when you enable USB drive writes (by connecting D5 to ground at startup) you cannot write files to the
internal filesystem and any code in your main.py that attempts to do so (like the example below) will fail. Keep this in
mind as you edit code--once you modify code you need to remove the alligator clip, reset the board to re-
enable internal filesystem writes, and then watch the output of your program.
Datalogging Example Code
The GPS library examples have a datalogging.py file you can edit and save as a main.py on your board:
If you ever get stuck, you can follow the steps mentioned in https://learn.adafruit.com/cpu-temperature-
logging-with-circuit-python/writing-to-the-filesystem to remove boot.py from the REPL if you need to go back
and edit code!
© Adafruit Industries https://learn.adafruit.com/adafruit-ultimate-gps-featherwing Page 23 of 34










