🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

node-red-node-arduino

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-node-arduino - npm Package Compare versions

Comparing version

to
0.2.2

@@ -71,6 +71,6 @@

this.running = false;
var node = this;
if (typeof this.serverConfig === "object") {
var startup = function() {
this.board = this.serverConfig.board;
var node = this;
node.board = node.serverConfig.board;
node.oldval = "";

@@ -123,3 +123,3 @@ node.status({fill:"grey",shape:"ring",text:"node-red:common.status.connecting"});

else { node.board.once("ready", function() { doit(); }); }
setTimeout(function() { if (!node.running) { startup(); } }, 4500);
setTimeout(function() { if (node.running === false) { startup(); } }, 4500);
}

@@ -129,3 +129,3 @@ startup();

else {
this.warn(RED._("arduino.errors.portnotconf"));
node.warn(RED._("arduino.errors.portnotconf"));
}

@@ -132,0 +132,0 @@ node.on('close', function() {

{
"name" : "node-red-node-arduino",
"version" : "0.2.1",
"version" : "0.2.2",
"description" : "A Node-RED node to talk to an Arduino running firmata",

@@ -5,0 +5,0 @@ "dependencies" : {

Sorry, the diff of this file is not supported yet