Hi
Is this Code's are Correct???
using the above code for SIM900 GSM/GPRS Module on ARDUINO 328
While uploading the above code to the ARDUINO 328 I am getting the Following Error
what am I doing wrong ????????
and what should I do now?
Thanks in advance
Is this Code's are Correct???
Rich (BB code):
#include "SIM900.h"
#include <SoftwareSerial.h>
#include "sms.h"
SMSGSM sms;
void setup()
{
Serial.begin(9600);
Serial.println("GSM Testing to send SMS");
if (gsm.begin(2400)){
Serial.println("\nstatus=READY");
started=true;
}
else Serial.println("\nstatus=IDLE");
if(started){
if (sms.SendSMS("+919********1", "Arduino SMS"))
// number to which you want to send the sms and the sms text//
Serial.println("\nSMS sent OK");
}
};
void loop()
{
};
While uploading the above code to the ARDUINO 328 I am getting the Following Error
Please help meI st Time
sketch_jun16a.ino:1:20: error: SIM900.h: No such file or directory
sketch_jun16a.ino:5:17: error: sms.h: No such file or directory
sketch_jun16a:7: error: 'SMSGSM' does not name a type
sketch_jun16a.ino: In function 'void setup()':
sketch_jun16a:13: error: 'gsm' was not declared in this scope
sketch_jun16a:15: error: 'started' was not declared in this scope
sketch_jun16a:19: error: 'started' was not declared in this scope
sketch_jun16a:20: error: 'sms' was not declared in this scope
II nd Time
sketch_jun16b.ino:1:20: error: SIM900.h: No such file or directory
sketch_jun16b.ino:3:17: error: sms.h: No such file or directory
sketch_jun16b:4: error: 'SMSGSM' does not name a type
sketch_jun16b.ino: In function 'void setup()':
sketch_jun16b:13: error: 'gsm' was not declared in this scope
sketch_jun16b:20: error: 'sms' was not declared in this scope
what am I doing wrong ????????
and what should I do now?
Thanks in advance