so i am using a gsm shield sim900 with a tmobile sim card and an arduino uno...I used the SMS Sender code from this youtube link: Arduino Tutorial: GSM/GPRS SHIELD (SIM900) SMS Send and Receive Tutorial on Arduino Uno - YouTube
However I get these errors liste below. IF YOU COULD PLEASE HELP ME ASAP I WOULD GREATLY APPRECIATE IT!
C:\Users\Saad\Desktop\EDD\SMSSender\SMSSender.ino: In function 'void setup()':
C:\Users\Saad\Desktop\EDD\SMSSender\SMSSender.ino:49:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
if (sms.SendSMS("+19569758590", "Arduino SMS"))
^
C:\Users\Saad\Desktop\EDD\SMSSender\SMSSender.ino:49:54: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
C:\Users\Saad\Desktop\EDD\SMSSender\SMSSender.ino: In function 'void loop()':
SMSSender:69: error: no matching function for call to 'SMSGSM::GetSMS(char&, char [20], char [100], int)'
sms.GetSMS(sms_position, phone_number, sms_text, 100);
^
C:\Users\Saad\Desktop\EDD\SMSSender\SMSSender.ino:69:65: note: candidate is:
In file included from C:\Users\Saad\Desktop\EDD\SMSSender\SMSSender.ino:8:0:
C:\Users\Saad\Documents\Arduino\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/sms.h:12:11: note: char SMSGSM::GetSMS(byte, char*, byte, char*, byte)
char GetSMS(byte position, char *phone_number,byte max_phone_len, char *SMS_text, byte max_SMS_len);
^
C:\Users\Saad\Documents\Arduino\libraries\GSM-GPRS-GPS-Shield-GSMSHIELD/sms.h:12:11: note: candidate expects 5 arguments, 4 provided
exit status 1
no matching function for call to 'SMSGSM::GetSMS(char&, char [20], char [100], int)'