From bdc15448d63460737528675be89c7d0286c91bb0 Mon Sep 17 00:00:00 2001 From: test Date: Thu, 27 Mar 2025 15:38:29 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +++- config.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 206e45a..b6c8eff 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # RustWeightService -rust称重到mqtt \ No newline at end of file +rust称重到mqtt +麒麟 "serial_port": "/dev/ttyS1", +windows "serial_port": "com1", \ No newline at end of file diff --git a/config.json b/config.json index b2062e3..8bfb611 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,5 @@ { "scale_type": "001", - "serial_port": "COM1", + "serial_port": "/dev/ttyS1", "baud_rate": 9600 }