This is a.net
This is a python
This is a serial debugger, called sscom packer will not see what is language
In addition to a serial port tools, the.net and python are only configured serial port number and baud rate, the other is built-in default arguments, but the open operation python leaner (?) ,.net open operation was obviously twice repeated operation, why need to do this?
Only a few points, hope don't mind
CodePudding user response:
A topCodePudding user response:
By the way, hardware is needed when I was in the open can make RTSBut even as follows:
SerialPort. RTS=true;
SerialPort. The Open ();
Thread.sleep (100);
SerialPort. RTS=false;
Is enabled, only after the Open 100 milliseconds later is not enabled, this also is can make only after the Open, can cause the firmware shutdown, can not completely avoid the problem...
I want Open to let the RTS enabled, this how do ah