|
Adafruit GPS Library
|
#include "Arduino.h"#include <Adafruit_PMTK.h>#include <NMEA_data.h>#include <SPI.h>#include <Wire.h>Go to the source code of this file.
Classes | |
| class | Adafruit_GPS |
| The GPS class. More... | |
Macros | |
| #define | NMEA_EXTENSIONS |
| if defined will include more NMEA sentences More... | |
| #define | GPS_DEFAULT_I2C_ADDR 0x10 |
| The default address for I2C transport of GPS data. | |
| #define | GPS_MAX_I2C_TRANSFER 32 |
| The max number of bytes we'll try to read at once. | |
| #define | GPS_MAX_SPI_TRANSFER 100 |
| The max number of bytes we'll try to read at once. | |
| #define | MAXLINELENGTH 120 |
| how long are max NMEA lines to parse? | |
| #define | NMEA_MAX_SENTENCE_ID 20 |
| maximum length of a sentence ID name, including terminating 0 | |
| #define | NMEA_MAX_SOURCE_ID 3 |
| maximum length of a source ID name, including terminating 0 | |
Enumerations | |
| enum | nmea_check_t { NMEA_BAD = 0, NMEA_HAS_DOLLAR, NMEA_HAS_CHECKSUM = 2, NMEA_HAS_NAME = 4, NMEA_HAS_SOURCE = 10, NMEA_HAS_SENTENCE = 20, NMEA_HAS_SENTENCE_P = 40 } |
| type for resulting code from running check() More... | |
This is the Adafruit GPS library - the ultimate GPS library for the ultimate GPS module!
Tested and works great with the Adafruit Ultimate GPS module using MTK33x9 chipset ---—> http://www.adafruit.com/products/746 Pick one up today at the Adafruit electronics shop and help support open source hardware & software! -ada
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, check license.txt for more information All text above must be included in any redistribution
| #define NMEA_EXTENSIONS |
if defined will include more NMEA sentences
Comment out the definition of NMEA_EXTENSIONS to make the library use as little memory as possible for GPS functionality only. The ARDUINO_ARCH_AVR test should leave it out of any compilations for the UNO and similar.library
| enum nmea_check_t |
type for resulting code from running check()
1.8.13