The Serial API is capable of exchanging data with PCs and other devices. Set up the same baud rate as the remote device using begin() to exchange data using read() and write().
LinkIt provides 2 sets of UART, the physical UART (pin 0 and 1) and USB UART. When a LinkIt board is connected to a PC using a USB cable, the COM port seen in the IDE is USB UART, not the physical UART (pin 0 and 1). On the PC the port will be identified as MTK USB Modem Port in device Manager.
Table : Mapping of UARTs to Serial objects