diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/README.md b/README.md new file mode 100644 index 0000000..43de66d --- /dev/null +++ b/README.md @@ -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) diff --git a/image/img1.png b/image/img1.png new file mode 100644 index 0000000..975bd40 Binary files /dev/null and b/image/img1.png differ diff --git a/image/img2.png b/image/img2.png new file mode 100644 index 0000000..0f314f7 Binary files /dev/null and b/image/img2.png differ