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 }