MarcoMartines / GSM-GPRS-GPS-Shield

GSM/GPRS & GPS Shield Library for modules using SIM900/SIM908
GNU General Public License v2.0
208 stars 152 forks source link

Library doesn't compile for ATMEGA 2560 #15

Open mweber-ovt opened 9 years ago

mweber-ovt commented 9 years ago

After changing the lines in the header file as prescribed for the MEGA: //#define UNO

define MEGA

the code doesn't compile. Error message:

Arduino: 1.0.6 (Mac OS X), Board: "Arduino Mega 2560 or Mega ADK" In file included from /Users/michael/Dropbox/Arduino/libraries/SIM900/GSM.h:9, from /Users/michael/Dropbox/Arduino/libraries/SIM900/SIM900.h:5, from t1_Declarations.ino:10: /Users/michael/Dropbox/Arduino/libraries/SIM900/WideTextFinder.h:11: error: ISO C++ forbids declaration of 'SoftwareSerial' with no type /Users/michael/Dropbox/Arduino/libraries/SIM900/WideTextFinder.h:11: error: expected ';' before '*' token /Users/michael/Dropbox/Arduino/libraries/SIM900/WideTextFinder.h:22: error: expected `)' before '&' token

Please help! Thanks, Michael

ingeltro commented 9 years ago

Tengo el mismo problema ayuda please.

mweber-ovt commented 9 years ago

Try Arduino 1.0.6 and not the newest version (1.6.x)

ingeltro commented 9 years ago

Ok la verdad estoy muy complicado con esto pues no logró hacerlo funcionar , muchas gracias por responder El jun 21, 2015 5:58 p.m., "mweber-ovt" notifications@github.com escribió:

Try Arduino 1.0.6 and not the newest version (1.6.x)

— Reply to this email directly or view it on GitHub https://github.com/MarcoMartines/GSM-GPRS-GPS-Shield/issues/15#issuecomment-113956820 .

ingeltro commented 9 years ago

Funciono con arduino 1.0.6, muchas gracias.

mweber-ovt commented 9 years ago

Happy to hear that!

On Jun 23, 2015, at 8:57 PM, ingeltro notifications@github.com<mailto:notifications@github.com> wrote:

Funciono con arduino 1.0.6, muchas gracias.

— Reply to this email directly or view it on GitHubhttps://github.com/MarcoMartines/GSM-GPRS-GPS-Shield/issues/15#issuecomment-114721196.