Comments (4)
maybe setDTR means set DTR to low level output or not
so setDTR(True)
makes low level output
setDTR(False)
makes high level output
doc here
from comtool.
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!
from comtool.
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.
And i didnt consider hadware flowcontrol in my early work, I can change the meaning of DTR/RTS checkbox to the same as pyserial do later.
from comtool.
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
from comtool.
Related Issues (20)
- Is that correct? (Run in win10)
- 通过 AUR 安装无法打开 HOT 2
- 小屏幕时,软件大小超出屏幕,且无法拖动缩小。 HOT 1
- 版本3.4.1.7在windows11无法运行 HOT 1
- 在macOS下加载参数失败导致无法启动 HOT 3
- 未显示串口信息 HOT 1
- `scoop bucket add Nightly`: Unknown bucket 'Nightly'. HOT 2
- 是否有计划在后期加入对USB通信的支持,因为现在像串口和网络的调试助手不少,但是USB的确几乎没有。 HOT 1
- 能否添加导出“收发界面”接收到的文本 HOT 1
- 命令行版本需求 HOT 1
- 无法选择串口 HOT 3
- Ubuntu20.04无法移动窗口 HOT 1
- 希望增加更精细的时间戳 HOT 2
- 串口接收区文字尺寸无法通过qss文件调整 HOT 1
- pip3安装的comtool运行指令报错,运行在树莓派4B
- 能不能打包成函数直接调用 HOT 1
- Win11上程序窗口很大,且无法缩小,前一版本没有这个问题 HOT 3
- Supports connection via Bluetooth BLE, COM port emulation HOT 1
- 能不能像纸飞机串口助手一样,根据文本内容对内容进行分窗显示? HOT 1
- python3.12 兼容问题,imp 在 py3.12 已被弃用 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comtool.