Ultimate GPS breakout v3 with Arduino Leonardo

by Umar Khalid on Sun Feb 17, 2013 6:38 am

I am using Ultimate gps breakout v3 with Arduino and when I use example code (leo_parsing) I get this error. Please can you help

leo_parsing:35: error: 'Adafruit_GPS' does not name a type
leo_parsing.ino: In function 'void setup()':
leo_parsing:52: error: 'GPS' was not declared in this scope
leo_parsing:55: error: 'PMTK_SET_NMEA_OUTPUT_RMCGGA' was not declared in this scope
leo_parsing:62: error: 'PMTK_SET_NMEA_UPDATE_1HZ' was not declared in this scope
leo_parsing:67: error: 'PGCMD_ANTENNA' was not declared in this scope
leo_parsing:71: error: 'PMTK_Q_RELEASE' was not declared in this scope
leo_parsing.ino: In function 'void loop()':
leo_parsing:77: error: 'GPS' was not declared in this scope
Umar Khalid
 
Posts: 11
Joined: Sun Nov 11, 2012 8:00 am

Re: Ultimate GPS breakout v3 with Arduino Leonardo

by adafruit_support_rick on Sun Feb 17, 2013 4:17 pm

Have you installed the Adafruit_GPS Library in the proper location?
Code: Select all
To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder Adafruit_GPS. Check that the Adafruit_GPS folder contains Adafruit_GPS.cpp and Adafruit_GPS.h

Place the Adafruit_GPS library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.


For more information on installing libraries, please see our brand-new guide in the Adafruit Learning System
User avatar
adafruit_support_rick
 
Posts: 8585
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Ultimate GPS breakout v3 with Arduino Leonardo

by Umar Khalid on Mon Feb 18, 2013 7:58 pm

Thank You :D ....... Now its working
Umar Khalid
 
Posts: 11
Joined: Sun Nov 11, 2012 8:00 am

Re: Ultimate GPS breakout v3 with Arduino Leonardo

by adafruit_support_rick on Mon Feb 18, 2013 8:44 pm

Great!
User avatar
adafruit_support_rick
 
Posts: 8585
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY