mirror of
				https://github.com/node-red/node-red-nodes.git
				synced 2025-03-01 10:37:43 +00:00 
			
		
		
		
	One line of logging to rawserial (to make it behave more like the regular serial one)
This commit is contained in:
		| @@ -36,6 +36,7 @@ function RawSerialInNode(n) { | ||||
|  | ||||
|     var setupSerial = function() { | ||||
|         node.inp = fs.createReadStream(pre+node.port); | ||||
|         node.log("opened "+pre+node.port); | ||||
|         node.inp.setEncoding('utf8'); | ||||
|         var line = ""; | ||||
|         node.inp.on('data', function (data) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user