SARENT-SORENTO / gsm-shield-arduino

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

can I use variables in function SendSMS? #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
please, I'm learning how to use this wonderful library and also the arduino.
Algem can help me?

I would send an sms but the number and message as a variable so that I can form 
sentences with if and else and send to multiple numbers in a for

how to use the function gsm.SendSMS (999999999, "text");??

eg
number = 999999999
text = test

gsm.SendSMS (number, text);

thank you very much

Original issue reported on code.google.com by sergioli...@gmail.com on 16 Apr 2013 at 7:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
sorry, very simple:

char text[] = "test of sms";

sms.SendSMS("900000000", text);

Thanks

Original comment by sergioli...@gmail.com on 17 Apr 2013 at 8:47

GoogleCodeExporter commented 9 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27