main
JiXieShi 2024-04-12 22:29:17 +08:00
parent 5d4558582a
commit dcf66b6895
4 changed files with 25 additions and 0 deletions

8
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# SerialTerminalForWindowsTerminal
在编写这个项目之前在windows Terminal中对串口设备的支持不是很棒
用过一段时间的
[SerialPortForWindowsTerminal](https://github.com/Zhou-zhi-peng/SerialPortForWindowsTerminal/)
项目。
此项目没有编码转换能力在使用过程中有乱码的问题,并且作者截至目前并没有进行后续支持,于是我便编写了此项目
## 运行示例
1. 参数帮助
`./COM`
![img.png](img1.png)
2. 输入设备输出UTF8 终端输出GBK
`./COM -p COM8 -b 115200 -o GBK`
![img.png](image/img2.png)

BIN
image/img1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
image/img2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB