-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opposite DTR and RTS state. #10
Comments
maybe setDTR means set DTR to low level output or not doc here |
Hello, I looked up some basic knowledge about serial communication, mostly is about RS-232 standard. DTE(Date Terminal Equipment, our computer reference) asserts DTR (Data Terminal Read) when it is ready to receive data, so RTS(Request to send) also. When these two box checked, it stand for we can receive data, but if has been set the opposite value background, We can't read data from serial conn anymore. I think we don't need think about the high/low level, just send a logic value and pySerial do it for us. Actually, I tried to jump into pySerial source code, but as the first time to do hardware work, it's a little hard for me to understand absolutely. Hope for your explanation, Thank you! |
that's right, these two checkbox of this software(comtool) means set DTR/RTS to high level or not, but not set to valid or not. |
I added hardware flow control, and it controlled by pyserial and when you want to control it by hand, the RTS DTR item now turn on means enable, not mean pin level anymore |
According to the code, you may just set the opposite of DTR and RTS, I debug a full day for it, even through I doubt it's maybe my laptop system's bug or the driver bug.
The text was updated successfully, but these errors were encountered: