Add a fix to allow the auto-NMEA examples to compile on ATmega2560/1280
This commit is contained in:
@@ -2,10 +2,12 @@
|
||||
Get the GPGGA NMEA sentence using getLatestNMEAGPGGA
|
||||
By: Paul Clark
|
||||
SparkFun Electronics
|
||||
Date: January 12th, 2021
|
||||
Date: January 12th, 2022
|
||||
License: MIT. See license file for more information but you can
|
||||
basically do whatever you want with this code.
|
||||
|
||||
** Please note: this example will not run on Arduino Uno. See https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library/blob/main/README.md#memory-usage
|
||||
|
||||
This example shows how to turn on/off the NMEA sentences being output over I2C.
|
||||
It then demonstrates how to use the new getLatestNMEAGPGGA function to retrieve the latest GPGGA message.
|
||||
getLatestNMEAGPGGA returns immediately - it is not blocking.
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
Get the latest GPGGA / GNGGA NMEA sentence using callbacks
|
||||
By: Paul Clark
|
||||
SparkFun Electronics
|
||||
Date: January 12th, 2021
|
||||
Date: January 12th, 2022
|
||||
License: MIT. See license file for more information but you can
|
||||
basically do whatever you want with this code.
|
||||
|
||||
** Please note: this example will not run on Arduino Uno. See https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library/blob/main/README.md#memory-usage
|
||||
|
||||
This example shows how to turn on/off the NMEA sentences being output over I2C.
|
||||
It then demonstrates how to get the latest GPGGA or GNGGA message autonomously using callbacks.
|
||||
|
||||
|
||||
+3
-1
@@ -2,10 +2,12 @@
|
||||
Get the NMEA sentence using getLatestNMEAGPxxx (GGA, VTG, RMC, ZDA)
|
||||
By: Paul Clark
|
||||
SparkFun Electronics
|
||||
Date: March 2nd, 2021
|
||||
Date: March 2nd, 2022
|
||||
License: MIT. See license file for more information but you can
|
||||
basically do whatever you want with this code.
|
||||
|
||||
** Please note: this example will not run on Arduino Uno. See https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library/blob/main/README.md#memory-usage
|
||||
|
||||
This example shows how to turn on/off the NMEA sentences being output over I2C.
|
||||
It then demonstrates how to use the new getLatestNMEAGPxxx function to retrieve the latest GPGGA message.
|
||||
getLatestNMEAGPxxx returns immediately - it is not blocking.
|
||||
|
||||
+3
-1
@@ -2,10 +2,12 @@
|
||||
Get the latest GGA, VTG, RMC, ZDA NMEA sentence using callbacks
|
||||
By: Paul Clark
|
||||
SparkFun Electronics
|
||||
Date: March 2nd, 2021
|
||||
Date: March 2nd, 2022
|
||||
License: MIT. See license file for more information but you can
|
||||
basically do whatever you want with this code.
|
||||
|
||||
** Please note: this example will not run on Arduino Uno. See https://github.com/sparkfun/SparkFun_u-blox_GNSS_Arduino_Library/blob/main/README.md#memory-usage
|
||||
|
||||
This example shows how to turn on/off the NMEA sentences being output over I2C.
|
||||
It then demonstrates how to get the latest GGA, VTG, RMC or ZDA message autonomously using callbacks.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
Get the jamming state and indication
|
||||
By: Paul Clark
|
||||
SparkFun Electronics
|
||||
Date: March 2nd, 2021
|
||||
Date: March 2nd, 2022
|
||||
License: MIT. See license file for more information but you can
|
||||
basically do whatever you want with this code.
|
||||
|
||||
@@ -73,7 +73,7 @@ void loop()
|
||||
|
||||
if (myGNSS.getHWstatus(&hwStatus)) // Read the hardware status
|
||||
{
|
||||
Serial.println(F("Hardware status (UBX_MON_RF):"));
|
||||
Serial.println(F("Hardware status (UBX_MON_HW):"));
|
||||
|
||||
Serial.print(F("Jamming state: "));
|
||||
Serial.print(hwStatus.flags.bits.jammingState);
|
||||
|
||||
Reference in New Issue
Block a user