How to send message?

zoomkat:
Simple code that will echo what ever is sent from the serial monitor back to the serial monitor and out the arduino rx pin.

// zoomkat 7-30-11 serial I/O string test

// type a string in serial monitor. then send or enter
// for IDE 0019 and later

String readString;

void setup() {
  Serial.begin(9600);
  Serial.println("serial test 0021"); // so I can keep track of what is loaded
}

void loop() {

while (Serial.available()) {
    delay(2);  //delay to allow byte to arrive in input buffer
    char c = Serial.read();
    readString += c;
  }

if (readString.length() >0) {
    Serial.println(readString);

readString="";
  }
}

Thanks for the help. I have tested the communication between Arduino and Flyport using your code but servo motor connected to Flyport is not working. So I think the problem is the communication between Arduino and Flyport.