From 9ce89f0490569e7e060b3ee8fb4b91e4aa1a6456 Mon Sep 17 00:00:00 2001 From: lady ada Date: Sun, 7 Feb 2021 15:23:12 -0500 Subject: [PATCH] add starting text, ask for version last, fix baudrate to 115200 to match tutorial --- .../GPS_SoftwareSerial_EchoTest.ino | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/GPS_SoftwareSerial_EchoTest/GPS_SoftwareSerial_EchoTest.ino b/examples/GPS_SoftwareSerial_EchoTest/GPS_SoftwareSerial_EchoTest.ino index 621f923..d8c81da 100644 --- a/examples/GPS_SoftwareSerial_EchoTest/GPS_SoftwareSerial_EchoTest.ino +++ b/examples/GPS_SoftwareSerial_EchoTest/GPS_SoftwareSerial_EchoTest.ino @@ -38,17 +38,19 @@ SoftwareSerial mySerial(8, 7); void setup() { while (!Serial); // wait for Serial to be ready - Serial.begin(57600); // this baud rate doesn't actually matter! + Serial.begin(115200); // The serial port for the Arduino IDE port output mySerial.begin(9600); delay(2000); - Serial.println("Get version!"); - mySerial.println(PMTK_Q_RELEASE); + Serial.println("Software Serial GPS Test Echo Test"); // you can send various commands to get it started //mySerial.println(PMTK_SET_NMEA_OUTPUT_RMCGGA); mySerial.println(PMTK_SET_NMEA_OUTPUT_ALLDATA); mySerial.println(PMTK_SET_NMEA_UPDATE_1HZ); + + Serial.println("Get version!"); + mySerial.println(PMTK_Q_RELEASE); } @@ -62,4 +64,4 @@ void loop() { char c = mySerial.read(); Serial.write(c); } -} +} \ No newline at end of file