From 7dea4ac0e6e453c02a64d4fd2c1a776270f7a01a Mon Sep 17 00:00:00 2001 From: ladyada Date: Tue, 17 May 2016 16:57:18 -0400 Subject: [PATCH] generalized --- examples/flora_parsing/flora_parsing.ino | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/flora_parsing/flora_parsing.ino b/examples/flora_parsing/flora_parsing.ino index f103d71..33249bb 100644 --- a/examples/flora_parsing/flora_parsing.ino +++ b/examples/flora_parsing/flora_parsing.ino @@ -1,4 +1,5 @@ -// Test code for Adafruit Flora GPS modules +// Test code for Ultimate GPS Using Hardware Serial ( +// e.g. Adafruit Flora GPS modules or GPS FeatherWing // // This code shows how to listen to the GPS module in an interrupt // which allows the program to have more 'freedom' - just parse @@ -7,11 +8,16 @@ // // Tested and works great with the Adafruit Flora GPS module // ------> http://adafruit.com/products/1059 +// ------> http://adafruit.com/products/3133 // Pick one up today at the Adafruit electronics shop // and help support open source hardware & software! -ada #include -#include +#ifdef __AVR__ + #include +#endif + +// Connect to the GPS on the Serial1 hardware port Adafruit_GPS GPS(&Serial1); // Set GPSECHO to 'false' to turn off echoing the GPS data to the Serial console