From 64578078028dc6b94162dcf3132a265b5706b19c Mon Sep 17 00:00:00 2001 From: driverblock Date: Thu, 8 Oct 2015 13:39:03 -0400 Subject: [PATCH] Didn't work. Fix. This didn't work. Changed mySerial to a #define --- examples/leo_locus_dumpbasic/leo_locus_dumpbasic.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/leo_locus_dumpbasic/leo_locus_dumpbasic.ino b/examples/leo_locus_dumpbasic/leo_locus_dumpbasic.ino index c8ffc1b..9bc8cab 100644 --- a/examples/leo_locus_dumpbasic/leo_locus_dumpbasic.ino +++ b/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