You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: src/SparkFun_Ublox_Arduino_Library.h
+14-8Lines changed: 14 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@
39
39
40
40
//Uncomment the following line to enable a variety of debug statements
41
41
//This will increase the codeword and RAM footprint of the library
42
-
//#define DEBUG
42
+
#defineDEBUG
43
43
44
44
#ifdef DEBUG
45
45
#definedebug Serial //Point debug statements to print to Serial port
@@ -207,7 +207,8 @@ class SFE_UBLOX_GPS
207
207
boolean getPVT(uint16_t maxWait = 1000); //Query module for latest group of datums and load global vars: lat, long, alt, speed, SIV, accuracies, etc.
208
208
int32_tgetLatitude(uint16_t maxWait = 250); //Returns the current latitude in degrees * 10^-7. Auto selects between HighPrecision and Regular depending on ability of module.
209
209
int32_tgetLongitude(uint16_t maxWait = 250); //Returns the current longitude in degrees * 10-7. Auto selects between HighPrecision and Regular depending on ability of module.
210
-
int32_tgetAltitude(uint16_t maxWait = 250); //Returns the current altitude in mm above mean sea level (most common output of GPS receivers).
210
+
int32_tgetAltitude(uint16_t maxWait = 250); //Returns the current altitude in mm above ellipsoid
211
+
int32_tgetAltitudeMSL(uint16_t maxWait = 250); //Returns the current altitude in mm above mean sea level
211
212
uint8_tgetSIV(uint16_t maxWait = 250); //Returns number of sats used in fix
212
213
uint8_tgetFixType(uint16_t maxWait = 250); //Returns the type of fix: 0=no, 3=3D, 4=GNSS+Deadreckoning
uint32_tgetPositionAccuracy(uint16_t maxWait = 500); //Returns the 3D accuracy of the current high-precision fix, in mm. Supported on NEO-M8P, ZED-F9P,
243
244
244
245
uint8_tgetProtocolVersionHigh(uint16_t maxWait = 1000); //Returns the PROTVER XX.00 from UBX-MON-VER register
245
-
//uint8_t getProtocolVersionLow(uint16_t maxWait = 1000); //Returns the PROTVER 00.XX from UBX-MON-VER register
246
-
//float getProtocolVersion(uint16_t maxWait = 1000); //Returns the combination of high&low portions from PROTVER in UBX-MON-VER register
246
+
uint8_tgetProtocolVersionLow(uint16_t maxWait = 1000); //Returns the PROTVER 00.XX from UBX-MON-VER register
0 commit comments