node-zserial 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,8 +1,11 @@
1
- node-zserialport
1
+ node-zserial port
2
2
  ========================
3
3
 
4
+
5
+
4
6
  <a href="http://nodered.org" target="noderedinfo">Node-RED</a> 节点,用于与硬件串口通信。
5
- ![node-red-zserialport](images/demo.png)
7
+
8
+ ![node-red-zserialport](images/image.png)
6
9
 
7
10
  ## 安装
8
11
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-zserial",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Node-RED nodes to talk to serial ports",
5
5
  "dependencies": {
6
6
  "serialport": "^12.0.0"
package/zserial.js CHANGED
@@ -521,7 +521,7 @@ module.exports = function (RED) {
521
521
  rts = serialConfig.rts || 'none',
522
522
  cts = serialConfig.cts || 'none',
523
523
  dsr = serialConfig.dsr || 'none',
524
- newline = "" + (serialConfig.newline || '\\n'),
524
+ newline = "" + serialConfig.newline,
525
525
  spliton = serialConfig.out || 'char',
526
526
  waitfor = serialConfig.waitfor || '',
527
527
  binoutput = serialConfig.bin || 'false',
package/images/demo.png DELETED
Binary file