Current location - Quotes Website - Collection of slogans - Write serial communication program with VC++, and use serial debugging assistant to complete sending and receiving. Does the serial number in the program have to be the same as that in the serial assi
Write serial communication program with VC++, and use serial debugging assistant to complete sending and receiving. Does the serial number in the program have to be the same as that in the serial assi
Write serial communication program with VC++, and use serial debugging assistant to complete sending and receiving. Does the serial number in the program have to be the same as that in the serial assistant? The program you wrote with VC++ is actually similar to the function of serial assistant. If the serial number settings are consistent, it will lead to conflicts.

For example, first open your own program, open the serial port com3, and then open the serial port assistant to set the same serial number. Generally, it will prompt something like "serial port has been opened" ... I don't remember.

If you have to debug with serial assistant, please make sure that your computer has two serial ports, set your own program and serial assistant to different serial numbers, and then connect the output and input, input and output of these two serial ports on hardware, and then you can debug.

The more troublesome ones can be debugged with two computers.