CodePudding user response:
A serial port, it is necessary to set the baud rate, ports, data bits, parity, etc., must be consistent,If it is a Linux system, then there is the open - read - write, very convenient,
Windows don't know, such as supplement, downstairs,
CodePudding user response:
Why use a serial port? Transfer rate is very low, the socket is more convenientCodePudding user response:
Although various error code,The correct code can also be the appearance of ten states,
So, walk yourself's road, let bits fly for a while,