XSerial writeSerial implementing