Reference   Language | Libraries | Comparison | Changes

Arduino MKR GPS

This is a library that allows you to read the information acquired through complex calculations by the receiver on the MKR GPS Shield. The library stores and manages the NMEA strings generated by the GPS receiver so that you can get directly the relevant information you need from the Global Positioning System (GPS).

To use this library
#include <Arduino_MKRGPS.h>

The GPS on the MKR GPS Shield can be managed using the Serial1 interface at 9600 8n1. On that serial port you receive the raw messages that can be read using the syntax specified by the NMEA standard. You can manage the board with an I2C connection or through the header pins to a underlying MKR board. The library supports transparently each set up and you just need to specify the mode you are using with the proper begin() parameter.

Last revision 2019/12/25 by SM

GPS class

Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.