Didn't work. Fix.

This didn't work.  Changed mySerial to a #define
This commit is contained in:
driverblock 2015-10-08 13:39:03 -04:00
parent fb579ed581
commit 6457807802
1 changed files with 2 additions and 2 deletions

View File

@ -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