GSM sim900A blinking each second even there is network

Hello, i have gsm SIM900a (simcom) S2-1040V-Z094T and i have connected its vcc to the 5v of arduino and gnd to the gnd of arduino, also i have connected RX to D9 and TX to D10, i have inserted the same company sim in gsm and i find network in my mobile when that sim is connected to my mobile but even i insert it gsm and setup connection as above the D6 led of gsm blinks each second. And when i run code i get this message in serial monitor.


+CPIN: READY
GSM SIM900A BEGIN
Enter character for control option:
h : to disconnect a call
i : to receive a call
s : to send message
c : to make a call
e : to redial

⸮⸮⸮⸮
RDY

+CFUN: 1

+CPIN: READY

[/center]

Without posting your code, only you know the problem and the solution. Please read the sticky post at the top of the forum about how to properly post your sketch and the issues are having.

/*THIS TUTORIAL USED GSM SIM900A MINI V3.9.2

Connect 5VT to D9 and 5VR to D10
Feed GSM SIM900A with Arduino’s 5V

Code by IDAYU SABRI - MYBOTIC
*/

#include <SoftwareSerial.h>
SoftwareSerial mySerial(9, 10);
char msg;
char call;

void setup()
{
mySerial.begin(9600); // Setting the baud rate of GSM Module
Serial.begin(9600); // Setting the baud rate of Serial Monitor (Arduino)
Serial.println(“GSM SIM900A BEGIN”);
Serial.println(“Enter character for control option:”);
Serial.println(“h : to disconnect a call”);
Serial.println(“i : to receive a call”);
Serial.println(“s : to send message”);
Serial.println(“c : to make a call”);
Serial.println(“e : to redial”);
Serial.println();
delay(100);
}

void loop()
{
if (Serial.available()>0)
switch(Serial.read())
{
case ‘s’:
SendMessage();
break;
}
if (mySerial.available()>0)
Serial.write(mySerial.read());
}

void SendMessage()
{
mySerial.println(“AT+CMGF=1”); //Sets the GSM Module in Text Mode
delay(1000); // Delay of 1000 milli seconds or 1 second
mySerial.println(“AT+CMGS=”+9779819067945"\r"); // Replace x with mobile number
delay(1000);
mySerial.println(“sim900a sms”);// The SMS text you want to send
delay(100);
mySerial.println((char)26);// ASCII code of CTRL+Z
delay(1000);
}

Please edit to include code tags. See Forum rules please.