[PD] writing to the serial port with [comport]