Teensy 4.0 + uBlox NEO-M8N

Example code of connecting Teensy 4.0 with a uBlox NEO-M8N GPS. The uBlox NEO-M8N GPS returns the latitude and longitude of the device location. The first sketch shows all messages from the GPS module. The second sketch checks the checksum and parses the GPS messages to update code variables. It is important to use the message Events in order to capture all the GPS messages.


Serial protocol5.0 volts

copy/paste Sketch