Kopilov / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

Problems compiling the library #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Im using the Arduino ide Version 1.0.5 with the alpha gsm librarie; the 
operating system is Windows 8.1 64 bits. I have an Arudino Uno and when i try 
to compile the librarie with the apropiate changes the following error ocurrs: 
"In file included from C:\Program Files 
(x86)\Arduino\libraries\GSMSHIELD_TDG/SIM900.h:5,
                 from sketch_jan13a.ino:1:
C:\Program Files (x86)\Arduino\libraries\GSMSHIELD_TDG/GSM.h:195: error: 
'SoftwareSerial' does not name a type
C:\Program Files (x86)\Arduino\libraries\GSMSHIELD_TDG/GSM.h:201: error: 
'WideTextFinder' does not name a type

How can i solve it?

Original issue reported on code.google.com by excat...@gmail.com on 13 Jan 2014 at 4:10

GoogleCodeExporter commented 9 years ago
this is the code im using:

#include "SIM900.h"
#include <SoftwareSerial.h>
#include "sms.h"
SMSGSM sms;
boolean started=false;

void setup() 
{
  //Serial connection.
  Serial.begin(9600);
  Serial.println("GSM Shield testing.");

  if (gsm.begin(2400)){
    Serial.println("\nstatus=READY");
    started=true;  
  }
  else Serial.println("\nstatus=IDLE");

  if(started){
    if (sms.SendSMS("+6148123123123", "SMS from Arduino"))
      Serial.println("\nSMS sent OK");
  }

};

void loop() 
{

}

Original comment by excat...@gmail.com on 13 Jan 2014 at 4:14