Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void setup()
- {
- Serial.begin(9600); //Baud rate of the GSM/GPRS Module
- Serial.print("\r");
- delay(1000);
- Serial.print("AT+CMGF=1\r");
- delay(1000);
- Serial.print("AT+CMGS=\"+44**********\"\r"); //Number to which you want to send the sms
- delay(1000);
- Serial.print("Testings SMS -Jay" "\r"); //The text of the message to be sent
- delay(1000);
- Serial.write(0x1A);
- delay(1000);
- }
- void loop()
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment