Skip to content

Commit 4c246df

Browse files
committed
Resort the examples
1 parent df89f32 commit 4c246df

File tree

6 files changed

+10
-22
lines changed

6 files changed

+10
-22
lines changed

examples/Example10_SetRoverMode/Example10_SetRoverMode.ino

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

43-
myGNSS.enableDebugging(); // Print all debug to Serial
43+
//myGNSS.enableDebugging(); // Print all debug to Serial
4444

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

examples/Example12_FactoryReset/Example12_FactoryReset.ino

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

43-
myGNSS.enableDebugging(); // Print all debug to Serial
43+
//myGNSS.enableDebugging(); // Print all debug to Serial
4444

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

examples/Example15_PollForValidRTCMMessages/Example15_PollForValidRTCMMessages.ino

+6-5
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@
2222
Note: Almost any ESP32 pins can be used for serial.
2323
Connect a dual or triband GNSS antenna: https://www.sparkfun.com/products/21801
2424
25-
55 RTCM messages supported: 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1009, 1010, 1011, 1012, 1013, 1019, 1020, 1033,
26-
1042, 1044, 1045, 1046, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1081, 1082, 1083, 1084, 1085, 1086, 1087, 1091, 1092, 1093, 1094, 1095, 1096, 1097,
27-
1104, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1121, 1122, 1123, 1124, 1125, 1126, 1127,
25+
68 RTCM messages supported: 1001, 1002, 1003, 1004, 1005, 1006, 1007, 1009, 1010, 1011, 1012, 1013, 1019, 1020,
26+
1033, 1042, 1044, 1045, 1046, 1071, 1072, 1073, 1074, 1075, 1076, 1077, 1081, 1082, 1083, 1084, 1085, 1086, 1087,
27+
1091, 1092, 1093, 1094, 1095, 1096, 1097, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1111, 1112, 1113, 1114, 1115,
28+
1116, 1117, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1131, 1132, 1133, 1134, 1135, 1136, 1137,
2829
2930
*/
3031

@@ -65,8 +66,8 @@ void setup()
6566
int delayBetweenCommands = 10;
6667
char comPort[] = "COM3"; //Enable on a different port than the one we are using
6768

68-
Serial.println("Scanning 1000 to 1130");
69-
for (int x = 1000 ; x < 1130 ; x++)
69+
Serial.println("Scanning 1000 to 1300");
70+
for (int x = 1000 ; x <= 1300 ; x++)
7071
{
7172
char myTest[100] = {0};
7273
sprintf(myTest, "RTCM%04d", x);

examples/Example11_UsbNMEA/Example11_UsbNMEA.ino renamed to examples/Example2_UsbNMEA/Example2_UsbNMEA.ino

-13
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,6 @@ void setup()
5656
//Turn off all NMEA, RTCM, and any other message that may be reporting periodically
5757
response &= myGNSS.disableOutput();
5858

59-
//Enable GPS L1/L2/L5 signals
60-
if(myGNSS.sendCommand("UNMASK GPS") == true) Serial.println("GPS enabled");
61-
else Serial.println("GPS unmask error");
62-
63-
if(myGNSS.sendCommand("UNMASK L1") == true) Serial.println("GPS L1 enabled");
64-
else Serial.println("GPS unmask L1 error");
65-
66-
if(myGNSS.sendCommand("UNMASK L2") == true) Serial.println("GPS L2 enabled");
67-
else Serial.println("GPS unmask L2 error");
68-
69-
if(myGNSS.sendCommand("UNMASK L5") == true) Serial.println("GPS L5 enabled");
70-
else Serial.println("GPS unmask L5 error");
71-
7259
float outputRate = 0.5; //0.5 = 2 reports per second.
7360

7461
char comPort[] = "COM1";

examples/Example3_EnableNMEA_5Hz/Example3_EnableNMEA_5Hz.ino

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

43-
myGNSS.enableDebugging(); // Print all debug to Serial
43+
//myGNSS.enableDebugging(); // Print all debug to Serial
4444

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

examples/Example4_EnableNMEA/Example4_EnableNMEA.ino

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

43-
myGNSS.enableDebugging(); // Print all debug to Serial
43+
//myGNSS.enableDebugging(); // Print all debug to Serial
4444

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

0 commit comments

Comments
 (0)