mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
Correct file name in error message
This commit is contained in:
parent
40b49c2944
commit
6b74999d49
@ -81,11 +81,11 @@ voltage ten times in rapid succession for each input message and output the mean
|
||||
category: 'advanced-input', // the palette category
|
||||
color:"#c6dbef",
|
||||
defaults: { // defines the editable properties of the node
|
||||
name: { value:"" }, // along with default values.
|
||||
topic: { value:"", required:true },
|
||||
pin: { value:"", required:true },
|
||||
topic: { value:"" },
|
||||
breakpoints: { value:[{input:0.0, output:0.0, mutable:false}, {input:1.0, output:1.0, mutable:false}] },
|
||||
averaging: { value:false, required:true }
|
||||
averaging: { value:false, required:true },
|
||||
name: { value:"" }
|
||||
},
|
||||
inputs:1, // set the number of inputs - only 0 or 1
|
||||
outputs:1, // set the number of outputs - 0 to n
|
||||
|
@ -21,7 +21,7 @@ var RED = require(process.env.NODE_RED_HOME + "/red/red");
|
||||
try {
|
||||
var bonescript = require("bonescript");
|
||||
} catch (err) {
|
||||
require("util").log("[145-digital-in] Error: cannot find module 'bonescript'");
|
||||
require("util").log("[145-BBB-hardware] Error: cannot find module 'bonescript'");
|
||||
}
|
||||
|
||||
// Node constructor for analogue-in
|
||||
|
Loading…
x
Reference in New Issue
Block a user