mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
startup tweak for Blink1 node
This commit is contained in:
parent
f7cec16f4f
commit
e0c8801d53
@ -18,7 +18,7 @@ var RED = require(process.env.NODE_RED_HOME+"/red/red");
|
||||
var Blink1 = require("node-blink1");
|
||||
// create a single global blink1 object
|
||||
// all blink1 nodes affect the same (single) led
|
||||
var blink1 = blink1 || new Blink1.Blink1();
|
||||
var blink1 = null;
|
||||
|
||||
function Blink1Node(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user