![Adafruit Feather M4 Express Manual Download Page 141](http://html1.mh-extra.com/html/adafruit/feather-m4-express/feather-m4-express_manual_2845857141.webp)
The data that is returned is in a byte array, if you want to convert it to a string, you can use this handy line of code
which will run
chr()
on each byte:
datastr = ''.join([chr(b) for b in data]) # convert bytearray to string
Your results will look something like this:
Wire It Up
You'll need a couple of things to connect the GPS to your board.
For Gemma M0 and Circuit Playground Express, you can use use alligator clips to connect to the Flora Ultimate GPS
Module.
For Trinket M0, Feather M0 Express, Metro M0 Express and ItsyBitsy M0 Express, you'll need a breadboard and
jumper wires to connect to the Ultimate GPS Breakout.
We've included diagrams show you how to connect the GPS to your board. In these diagrams, the wire colors match
the same pins on each board.
The black wire connects between the ground pins.
The red wire connects between the power pins on the GPS and your board.
The blue wire connects from TX on the GPS to RX on your board.
The white wire connects from RX on the GPS to TX on your board.
For more information about the data you're reading and the Ultimate GPS, check out the Ultimate GPS guide:
https://learn.adafruit.com/adafruit-ultimate-gps
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51
Page 146 of 183