Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Didn't work. Fix.

This didn't work.  Changed mySerial to a #define
1 parent fb579ed commit 64578078028dc6b94162dcf3132a265b5706b19c @driverblock driverblock committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/leo_locus_dumpbasic/leo_locus_dumpbasic.ino
4 examples/leo_locus_dumpbasic/leo_locus_dumpbasic.ino
@@ -32,11 +32,11 @@
// If using hardware serial, comment
// out the above two lines and enable these two lines instead:
Adafruit_GPS GPS(&Serial1);
-HardwareSerial mySerial = Serial1;
+#define mySerial Serial1
void setup()
-// while (!Serial); // Leonardo will wait till serial connects
+ while (!Serial); // Leonardo will wait till serial connects
// connect at 115200 so we can read the GPS fast enuf and
// also spit it out

0 comments on commit 6457807

Please sign in to comment.
Something went wrong with that request. Please try again.