while (Serial.available() > 0)
You have nothing connected to the serial port you would have to use the mySerial port here, if indeed the chip provides you with asynchronous at 1200 baud.
Also you need to start it off with mySerial.begin
while (Serial.available() > 0)
You have nothing connected to the serial port you would have to use the mySerial port here, if indeed the chip provides you with asynchronous at 1200 baud.
Also you need to start it off with mySerial.begin