I resolved the issue. I was using incorrect baud rate. I fixed the code by changing
Serial.begin(9600);
mySerial.begin(9600);
to
Serial.begin(9600);
mySerial.begin(38400);
Thanks
I resolved the issue. I was using incorrect baud rate. I fixed the code by changing
Serial.begin(9600);
mySerial.begin(9600);
to
Serial.begin(9600);
mySerial.begin(38400);
Thanks