More u-blox corrections

This commit is contained in:
PaulZC
2021-01-09 08:49:05 +00:00
parent 302ea3ea61
commit 129f275f38
11 changed files with 16 additions and 16 deletions
@@ -80,9 +80,9 @@ void setup()
//myGNSS.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial //myGNSS.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("Ublox GPS not detected at default I2C address. Please check wiring. Freezing.")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing."));
while (1); while (1);
} }
@@ -63,9 +63,9 @@ void setup()
//myGNSS.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial //myGNSS.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("Ublox GPS not detected at default I2C address. Please check wiring. Freezing.")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing."));
while (1); while (1);
} }
@@ -86,9 +86,9 @@ void setup()
//myGNSS.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial //myGNSS.enableDebugging(); // Uncomment this line to enable helpful debug messages on Serial
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("Ublox GPS not detected at default I2C address. Please check wiring. Freezing.")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing."));
while (1); while (1);
} }
@@ -83,9 +83,9 @@ void setup()
//myGNSS.enableDebugging(); // Uncomment this line to enable debug messages on Serial //myGNSS.enableDebugging(); // Uncomment this line to enable debug messages on Serial
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("Ublox GPS not detected at default I2C address. Please check wiring. Freezing.")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing."));
while (1); while (1);
} }
@@ -142,9 +142,9 @@ void setup()
//myGNSS.enableDebugging(); // Uncomment this line to enable debug messages on Serial //myGNSS.enableDebugging(); // Uncomment this line to enable debug messages on Serial
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("Ublox GPS not detected at default I2C address. Please check wiring. Freezing.")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing."));
while (1); while (1);
} }
@@ -158,7 +158,7 @@ void setup()
// I.e. room for three messages plus an empty tail byte. // I.e. room for three messages plus an empty tail byte.
myGNSS.setFileBufferSize(301); // setFileBufferSize must be called _before_ .begin myGNSS.setFileBufferSize(301); // setFileBufferSize must be called _before_ .begin
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing...")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing..."));
while (1); while (1);
@@ -164,7 +164,7 @@ void setup()
// I.e. room for three messages plus an empty tail byte. // I.e. room for three messages plus an empty tail byte.
myGNSS.setFileBufferSize(109); // setFileBufferSize must be called _before_ .begin myGNSS.setFileBufferSize(109); // setFileBufferSize must be called _before_ .begin
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing...")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing..."));
while (1); while (1);
@@ -160,7 +160,7 @@ void setup()
// getMaxFileBufferAvail will tell us the maximum number of bytes which the file buffer has contained. // getMaxFileBufferAvail will tell us the maximum number of bytes which the file buffer has contained.
myGNSS.setFileBufferSize(fileBufferSize); // setFileBufferSize must be called _before_ .begin myGNSS.setFileBufferSize(fileBufferSize); // setFileBufferSize must be called _before_ .begin
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing...")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing..."));
while (1); while (1);
@@ -131,7 +131,7 @@ void setup()
// getMaxFileBufferAvail will tell us the maximum number of bytes which the file buffer has contained. // getMaxFileBufferAvail will tell us the maximum number of bytes which the file buffer has contained.
myGNSS.setFileBufferSize(fileBufferSize); // setFileBufferSize must be called _before_ .begin myGNSS.setFileBufferSize(fileBufferSize); // setFileBufferSize must be called _before_ .begin
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing...")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing..."));
while (1); while (1);
@@ -131,7 +131,7 @@ void setup()
// getMaxFileBufferAvail will tell us the maximum number of bytes which the file buffer has contained. // getMaxFileBufferAvail will tell us the maximum number of bytes which the file buffer has contained.
myGNSS.setFileBufferSize(fileBufferSize); // setFileBufferSize must be called _before_ .begin myGNSS.setFileBufferSize(fileBufferSize); // setFileBufferSize must be called _before_ .begin
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing...")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing..."));
while (1); while (1);
@@ -40,7 +40,7 @@ void setup()
Wire.begin(); Wire.begin();
if (myGNSS.begin() == false) //Connect to the Ublox module using Wire port if (myGNSS.begin() == false) //Connect to the u-blox module using Wire port
{ {
Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing.")); Serial.println(F("u-blox GNSS not detected at default I2C address. Please check wiring. Freezing."));
while (1); while (1);