Skip to content

Commit dc3d87c

Browse files
committed
Rename Serial var
1 parent 8de478d commit dc3d87c

File tree

20 files changed

+72
-71
lines changed

20 files changed

+72
-71
lines changed

examples/EG25-G_Example10_SocketPingPong/EG25-G_Example10_SocketPingPong.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@
6565
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
6666

6767
// Uncomment the next line to connect to the EG25-G using hardware Serial1
68-
#define eg25Serial Serial1
68+
#define atSerial Serial1
6969

7070
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
71-
//SoftwareSerial eg25Serial(8, 9);
71+
//SoftwareSerial atSerial(8, 9);
7272

7373
// Create a EG25_G object to use throughout the sketch
7474
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -232,7 +232,7 @@ void setup()
232232
myEG25.invertPowerPin(true);
233233

234234
// Initialize the EG25
235-
if (myEG25.begin(eg25Serial, 115200) )
235+
if (myEG25.begin(atSerial, 115200) )
236236
{
237237
Serial.println(F("EG25-G connected!"));
238238
}

examples/EG25-G_Example10_SocketPingPong_BinaryTCP/EG25-G_Example10_SocketPingPong_BinaryTCP.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@
6565
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
6666

6767
// Uncomment the next line to connect to the EG25-G using hardware Serial1
68-
#define eg25Serial Serial1
68+
#define atSerial Serial1
6969

7070
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
71-
//SoftwareSerial eg25Serial(8, 9);
71+
//SoftwareSerial atSerial(8, 9);
7272

7373
// Create a EG25_G object to use throughout the sketch
7474
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -241,7 +241,7 @@ void setup()
241241
myEG25.invertPowerPin(true);
242242

243243
// Initialize the EG25
244-
if (myEG25.begin(eg25Serial, 115200) )
244+
if (myEG25.begin(atSerial, 115200) )
245245
{
246246
Serial.println(F("EG25-G connected!"));
247247
}

examples/EG25-G_Example10_SocketPingPong_MultipleTCP/EG25-G_Example10_SocketPingPong_MultipleTCP.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@
6565
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
6666

6767
// Uncomment the next line to connect to the EG25-G using hardware Serial1
68-
#define eg25Serial Serial1
68+
#define atSerial Serial1
6969

7070
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
71-
//SoftwareSerial eg25Serial(8, 9);
71+
//SoftwareSerial atSerial(8, 9);
7272

7373
// Create a EG25_G object to use throughout the sketch
7474
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -258,7 +258,7 @@ void setup()
258258
myEG25.invertPowerPin(true);
259259

260260
// Initialize the EG25
261-
if (myEG25.begin(eg25Serial, 115200) )
261+
if (myEG25.begin(atSerial, 115200) )
262262
{
263263
Serial.println(F("EG25-G connected!"));
264264
}

examples/EG25-G_Example10_SocketPingPong_MultipleUDP/EG25-G_Example10_SocketPingPong_MultipleUDP.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@
5757
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
5858

5959
// Uncomment the next line to connect to the EG25-G using hardware Serial1
60-
#define eg25Serial Serial1
60+
#define atSerial Serial1
6161

6262
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
63-
//SoftwareSerial eg25Serial(8, 9);
63+
//SoftwareSerial atSerial(8, 9);
6464

6565
// Create a EG25_G object to use throughout the sketch
6666
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -234,7 +234,7 @@ void setup()
234234
myEG25.invertPowerPin(true);
235235

236236
// Initialize the EG25
237-
if (myEG25.begin(eg25Serial, 115200) )
237+
if (myEG25.begin(atSerial, 115200) )
238238
{
239239
Serial.println(F("EG25-G connected!"));
240240
}

examples/EG25-G_Example11_Clock/EG25-G_Example11_Clock.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
2424

2525
// Uncomment the next line to connect to the EG25-G using hardware Serial1
26-
#define eg25Serial Serial1
26+
#define atSerial Serial1
2727

2828
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
29-
//SoftwareSerial eg25Serial(8, 9);
29+
//SoftwareSerial atSerial(8, 9);
3030

3131
// Create a EG25_G object to use throughout the sketch
3232
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -55,7 +55,7 @@ void setup()
5555
myEG25.invertPowerPin(true);
5656

5757
// Initialize the EG25
58-
if (myEG25.begin(eg25Serial, 9600) )
58+
if (myEG25.begin(atSerial, 9600) )
5959
{
6060
Serial.println(F("EG25-G connected!"));
6161
}

examples/EG25-G_Example12_AssistNowOnline/EG25-G_Example12_AssistNowOnline.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@
3737
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
3838

3939
// Uncomment the next line to connect to the EG25-G using hardware Serial1
40-
#define eg25Serial Serial1
40+
#define atSerial Serial1
4141

4242
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
43-
//SoftwareSerial eg25Serial(8, 9);
43+
//SoftwareSerial atSerial(8, 9);
4444

4545
// Create a EG25_G object to use throughout the sketch
4646
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -92,7 +92,7 @@ void setup()
9292
myEG25.invertPowerPin(true);
9393

9494
// Initialize the EG25
95-
if (myEG25.begin(eg25Serial, 115200) )
95+
if (myEG25.begin(atSerial, 115200) )
9696
{
9797
Serial.println(F("EG25-G connected!"));
9898
}

examples/EG25-G_Example13_SetClockWithNTP/EG25-G_Example13_SetClockWithNTP.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@
3333
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
3434

3535
// Uncomment the next line to connect to the EG25-G using hardware Serial1
36-
#define eg25Serial Serial1
36+
#define atSerial Serial1
3737

3838
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
39-
//SoftwareSerial eg25Serial(8, 9);
39+
//SoftwareSerial atSerial(8, 9);
4040

4141
// Create a EG25_G object to use throughout the sketch
4242
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -86,7 +86,7 @@ void setup()
8686
myEG25.autoTimeZoneForBegin(false);
8787

8888
// Initialize the EG25
89-
if (myEG25.begin(eg25Serial, 115200) )
89+
if (myEG25.begin(atSerial, 115200) )
9090
{
9191
Serial.println(F("EG25-G connected!"));
9292
}

examples/EG25-G_Example14_AssistNowOffline/EG25-G_Example14_AssistNowOffline.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
4242

4343
// Uncomment the next line to connect to the EG25-G using hardware Serial1
44-
#define eg25Serial Serial1
44+
#define atSerial Serial1
4545

4646
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
47-
//SoftwareSerial eg25Serial(8, 9);
47+
//SoftwareSerial atSerial(8, 9);
4848

4949
// Create a EG25_G object to use throughout the sketch
5050
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -99,7 +99,7 @@ void setup()
9999
myEG25.autoTimeZoneForBegin(false);
100100

101101
// Initialize the EG25
102-
if (myEG25.begin(eg25Serial, 115200) )
102+
if (myEG25.begin(atSerial, 115200) )
103103
{
104104
Serial.println(F("EG25-G connected!"));
105105
}

examples/EG25-G_Example15_GNSS_NTRIP_Caster_With_Callbacks/EG25-G_Example15_GNSS_NTRIP_Caster_With_Callbacks.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
5151

5252
// Uncomment the next line to connect to the EG25-G using hardware Serial1
53-
#define eg25Serial Serial1
53+
#define atSerial Serial1
5454

5555
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
56-
//SoftwareSerial eg25Serial(8, 9);
56+
//SoftwareSerial atSerial(8, 9);
5757

5858
// Create a EG25_G object to use throughout the sketch
5959
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -115,7 +115,7 @@ void setup()
115115
myEG25.invertPowerPin(true);
116116

117117
// Initialize the EG25
118-
if (myEG25.begin(eg25Serial, 115200) )
118+
if (myEG25.begin(atSerial, 115200) )
119119
{
120120
Serial.println(F("EG25-G connected!"));
121121
}

examples/EG25-G_Example16_GNSS_NTRIP_Caster__Polling/EG25-G_Example16_GNSS_NTRIP_Caster__Polling.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@
5454
#include <FC0003390327.h> //Click here to get the library: http://librarymanager/All#Firechip_Quectel_EG25-G_Arduino_Library
5555

5656
// Uncomment the next line to connect to the EG25-G using hardware Serial1
57-
#define eg25Serial Serial1
57+
#define atSerial Serial1
5858

5959
// Uncomment the next line to create a SoftwareSerial object to pass to the EG25-G library instead
60-
//SoftwareSerial eg25Serial(8, 9);
60+
//SoftwareSerial atSerial(8, 9);
6161

6262
// Create a EG25_G object to use throughout the sketch
6363
// Usually we would tell the library which GPIO pin to use to control the EG25 power (see below),
@@ -119,7 +119,7 @@ void setup()
119119
myEG25.invertPowerPin(true);
120120

121121
// Initialize the EG25
122-
if (myEG25.begin(eg25Serial, 115200) )
122+
if (myEG25.begin(atSerial, 115200) )
123123
{
124124
Serial.println(F("EG25-G connected!"));
125125
}

0 commit comments

Comments
 (0)