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: examples/ZED-F9P/Example9_GetHighPrecisionPositionUsingDouble/Example9_GetHighPrecisionPositionUsingDouble.ino
+8-1
Original file line number
Diff line number
Diff line change
@@ -50,8 +50,15 @@ void setup()
50
50
;
51
51
}
52
52
53
+
// Check that this platform supports 64-bit (8 byte) double
54
+
if (sizeof(double) < 8)
55
+
{
56
+
Serial.println(F("Warning! Your platform does not support 64-bit double."));
57
+
Serial.println(F("The latitude and longitude will be inaccurate."));
58
+
}
59
+
53
60
myGPS.setI2COutput(COM_TYPE_UBX); //Set the I2C port to output UBX only (turn off NMEA noise)
54
-
61
+
55
62
//myGPS.setNavigationFrequency(20); //Set output to 20 times a second
56
63
57
64
byte rate = myGPS.getNavigationFrequency(); //Get the update rate of this module
0 commit comments