why after the send of the sms the program get's blocked until the reset button is pressed ??? how can i make a cycle to re-take the action of sending from beginning ??? the code is this #include <SerialGSM.h> #include <SoftwareSerial.h>
SerialGSM cell(2,3);
void setup()
{
delay(30000); // wait for GSM module
cell.begin(9600);
}
void sendSMS()
{
cell.Verbose(true); // used for debugging
cell.Boot();
cell.FwdSMS2Serial();
cell.Rcpt("+xxxxxxxxx"); // replace xxxxxxxxx with the recipient's cellular number
cell.Message("Contents of your text message");
cell.SendSMS();
}
void loop()
{
sendSMS();
do // remove this loop at your peril
{
delay(1);
}
while (1>0);
}