Serial port communication is a kind of communication mode between peripheral equipment and computer, through data signal line, control line, ground wire, etc., to transmit data by bit. The essential function of serial port is to act as the code converter between CPU and serial communication equipment. When data is sent from CPU through serial port, byte data is converted to bit of serial port; when receiving data, bit of serial port is converted to byte data. The most important parameters of serial communication are baud rate, data bit, stop bit and parity. If two ports are communicating, these parameters must match exactly.<br>
正在翻译中..