i am getting stray error in the arduino uni compiler. Im trying to make call through gsm shield sim900a using AT Commands.
Error----> "Stray '' in program"
sms:3: error: stray '' in program
sms:3: error: stray '' in program
sms:13: error: stray '' in program
sms:13: error: stray '' in program
sms:15: error: stray '' in program
sms:15: error: stray '' in program
sms:19: error: stray '' in program
sms:19: error: stray '' in program
sms:23: error: stray '' in program
sms:23: error: stray '' in program
sms:3: error: 'u201d9443303461' was not declared in this scope
sms:3: error: expected ',' or ';' before 'u201d'
sms.ino: In function 'void setup()':
sms:13: error: 'u201cAT' was not declared in this scope
sms:15: error: 'u201cATD' was not declared in this scope
sms:19: error: 'u201c' was not declared in this scope
sms:19: error: 'u201d' was not declared in this scope
sms:19: error: expected `;' before ')' token
sms:23: error: 'u201cATH' was not declared in this scope
//Code for Dialling a number
char phone_no[]=”9443303461”;
void setup()
{
Serial.begin(9600); //Open Serial Connection at baudrate 9600
delay(2000);
Serial.println(“AT”); // Wake up GSM
Serial.print(“ATD”); //Dial the phone number using ATD command
Serial.print(phone_no);
Serial.println(“;”); // Semicolon is a must at the end
delay(10000);
Serial.println(“ATH”); // After a delay of 5 secs Hang the call
}