Hello ,
I have connected gsm modem to pro mini and i have dialed a number from modem
the code which is working is as follows
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
delay(10000);
mySerial.begin(9600);
Serial.begin(9600);
Serial.println("ATD>1;");
delay(5000);
}
void loop()
{
}
then i tried to do using a softwareSerial and creating a serial port but i couldn't get any result from it the code is following
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
delay(10000);
mySerial.begin(9600);
Serial.begin(9600);
mySerial.println("ATD>1;");
delay(5000);
}
void loop()
{
}
i have used software serial in initial code because i want to add the modem to the extra serial port not the one which is default for testing purpose i used the initial code.
And i have also made connections to pin 10 and pin 11 of the mini from modem respt
what could be possibly wrong in this case