Guest User

Untitled

a guest
Oct 10th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. void setup()
  2. {
  3. Serial.begin(9600); //Baud rate of the GSM/GPRS Module
  4. Serial.print("\r");
  5. delay(1000);
  6. Serial.print("AT+CMGF=1\r");
  7. delay(1000);
  8. Serial.print("AT+CMGS=\"+44**********\"\r"); //Number to which you want to send the sms
  9. delay(1000);
  10. Serial.print("Testings SMS -Jay" "\r"); //The text of the message to be sent
  11. delay(1000);
  12. Serial.write(0x1A);
  13. delay(1000);
  14. }
  15. void loop()
  16. {
  17. }
Advertisement
Add Comment
Please, Sign In to add comment