Skip to content

Commit 7989f55

Browse files
committed
Reorder examples
1 parent f54547f commit 7989f55

File tree

9 files changed

+14
-7
lines changed

9 files changed

+14
-7
lines changed

examples/Example10_SetRoverMode/Example10_SetRoverMode.ino

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ void setup()
5757
//myGNSS.setModeRoverAutomotive();
5858

5959
myGNSS.saveConfiguration(); //Save the current configuration into non-volatile memory (NVM)
60+
61+
Serial.println("Configuration complete");
6062
}
6163

6264
void loop()

examples/Example14_SetPPS/Example14_SetPPS.ino

+2
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ void setup()
5757
//myGNSS.enablePPS(100000, 1000, false, 0, 0); //widthMicroseconds, periodMilliseconds, positivePolarity, rfDelayNanoSeconds, userDelayNanoseconds
5858

5959
myGNSS.saveConfiguration(); //Save the current configuration into non-volatile memory (NVM)
60+
61+
Serial.println("The PPS LED should now be blinking 100ms on, 900ms off");
6062
}
6163

6264
void loop()

examples/Example16_QueryDevice/Example16_QueryDevice.ino renamed to examples/Example15_QueryDevice/Example15_QueryDevice.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void setup()
4141
//We must start the serial port before using it in the library
4242
SerialGNSS.begin(115200, SERIAL_8N1, pin_UART1_RX, pin_UART1_TX);
4343

44-
myGNSS.enableDebugging(); // Print all debug to Serial
44+
//myGNSS.enableDebugging(); // Print all debug to Serial
4545

4646
if (myGNSS.begin(SerialGNSS) == false) //Give the serial port over to the library
4747
{

examples/Example2_DirectConnect/Example2_DirectConnect.ino

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ void setup()
6060
response &= myGNSS.disableOutput();
6161

6262
Serial.println("All characters now being echoed to UM980");
63+
Serial.println("Send CONFIG to see the current configuration");
6364
Serial.println("Be sure both NL & CR is turned on!");
6465
}
6566

examples/Example4_EnableNMEA_5Hz/Example4_EnableNMEA_5Hz.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
These examples are targeted for an ESP32 platform but any platform that has multiple
1010
serial UARTs should be compatible.
1111
12-
This example pipes all NMEA sentences to the UART.
12+
This example pipes all NMEA sentences to the UART1 (the USB C port) and UART2 (connected to the microcontroller).
1313
1414
Feel like supporting open source hardware?
1515
Buy a board from SparkFun!
@@ -65,7 +65,7 @@ void setup()
6565

6666
//Configure a specific port
6767
float outputRate = 0.2; //0.2 = 5 reports per second.
68-
char comName[] = "COM3"; //COM1, COM2, and COM3 are valid
68+
char comName[] = "COM1"; //COM1, COM2, and COM3 are valid
6969
myGNSS.setNMEAPortMessage("GPGGA", comName, outputRate); //Message type, COM port, output rate.
7070
myGNSS.setNMEAPortMessage("GPGSA", comName, outputRate);
7171
myGNSS.setNMEAPortMessage("GPGST", comName, outputRate);

examples/Example6_AverageBase/Example6_AverageBase.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ void setup()
7878
myGNSS.setRTCMMessage("RTCM1124", 1);
7979
myGNSS.setRTCMMessage("RTCM1033", 10);
8080

81-
myGNSS.setRTCMMessage("RTCM1033", 0); //Disable a specific message
81+
//myGNSS.setRTCMMessage("RTCM1033", 0); //Example of how to disable a specific message
8282

83-
myGNSS.setRTCMPortMessage("RTCM1074", "COM1", 1); //Enable message on a specific port
83+
//myGNSS.setRTCMPortMessage("RTCM1074", "COM1", 1); //Example of how to enable a message on a specific port
8484

8585
myGNSS.saveConfiguration(); //Save the current configuration into non-volatile memory (NVM)
8686

examples/Example7_FixedBase/Example7_FixedBase.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ void setup()
7676
myGNSS.setRTCMMessage("RTCM1124", 1);
7777
myGNSS.setRTCMMessage("RTCM1033", 10);
7878

79-
//myGNSS.setRTCMMessage("RTCM1033", 0); //Disable a specific message
79+
//myGNSS.setRTCMMessage("RTCM1033", 0); //Example of how to disable a specific message
8080

81-
//myGNSS.setRTCMPortMessage("RTCM1074", "COM1", 1); //Enable message on a specific port
81+
//myGNSS.setRTCMPortMessage("RTCM1074", "COM1", 1); //Example of how to enable a message on a specific port
8282

8383
myGNSS.saveConfiguration(); //Save the current configuration into non-volatile memory (NVM)
8484

examples/Example9_SignalElevation/Example9_SignalElevation.ino

+2
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ void setup()
5454
myGNSS.setMinCNO(10); //Set the minimum CN0 value to 10 dBHz
5555

5656
myGNSS.saveConfiguration(); //Save the current configuration into non-volatile memory (NVM)
57+
58+
Serial.println("Configuration complete");
5759
}
5860

5961
void loop()

0 commit comments

Comments
 (0)