mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00: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
|
category: 'advanced-input', // the palette category
|
||||||
color:"#c6dbef",
|
color:"#c6dbef",
|
||||||
defaults: { // defines the editable properties of the node
|
defaults: { // defines the editable properties of the node
|
||||||
name: { value:"" }, // along with default values.
|
|
||||||
topic: { value:"", required:true },
|
|
||||||
pin: { 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}] },
|
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
|
inputs:1, // set the number of inputs - only 0 or 1
|
||||||
outputs:1, // set the number of outputs - 0 to n
|
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 {
|
try {
|
||||||
var bonescript = require("bonescript");
|
var bonescript = require("bonescript");
|
||||||
} catch (err) {
|
} 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
|
// Node constructor for analogue-in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user