Two PC serial port communication, what I do is play software, how to respond to the data you will receive the command, control of the film play, pause, stop, two PCS can broadcast
CodePudding user response:
Your player software needs to support only a serial port line, add a mscomm control, RThreshold attribute is set to 1, the output attribute is used after opening ports send instructions, the receiver will have OnComm event, to get the data received by the input attribute (length determined by InBufferCount attribute)
CodePudding user response:
Personal understanding: 1, first design link line, 2-3, 3-2, namely serial port 2 or 3 pin cross links, 2, the definition of communication protocol, this look at your own definition of the 3, write a program, refer to: http://download.csdn.net/detail/veron_04/4037248