Hi all
I'm using the arduino mega with a sim900 device (specifically this device here: linksprite)
I've modified the library so that it's using the mega's Serial ports and it works fine as long as SoftwareSerial is still included (which it shouldn't need?). When I comment it out I get these errors:
In file included from C:\Program Files (x86)\Arduino\libraries\GSMSHIELD_TDG/GSM.h:9,
from C:\Program Files (x86)\Arduino\libraries\GSMSHIELD_TDG/SIM900.h:5,
from GSM_GPRSLibrary_SMS.ino:1:
C:\Program Files (x86)\Arduino\libraries\GSMSHIELD_TDG/WideTextFinder.h:11: error: ISO C++ forbids declaration of 'SoftwareSerial' with no type
C:\Program Files (x86)\Arduino\libraries\GSMSHIELD_TDG/WideTextFinder.h:11: error: expected ';' before '*' token
C:\Program Files (x86)\Arduino\libraries\GSMSHIELD_TDG/WideTextFinder.h:22: error: expected `)' before '&' token
I know this has been raised before here: Troubles with SoftwareSerial and the mega2560 - Programming Questions - Arduino Forum but I don't think an answer was found.
Anyone got any ideas?
Thanks