if (Serial.available()) {
while (xbee.available() > 0) {
// display each character to the LCD
lcd.write(xbee.read());
}
}
If there is data on the Serial port, read the data on the xbee port? What is the relationship between Serial data and xbee data?