EasyManuals Logo

Adafruit Feather M4 Express User Manual

Adafruit Feather M4 Express
178 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #141 background imageLoading...
Page #141 background image
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Adafruit Feather M4 Express and is the answer not in the manual?

Adafruit Feather M4 Express Specifications

General IconGeneral
BrandAdafruit
ModelFeather M4 Express
CategoryMicrocontrollers
LanguageEnglish

Related product manuals