Serial.print

Use an Arduino with more than one hardware COM port or use SoftSerial (carefully) to communicate with the external device.