mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
fix fix for #105
This commit is contained in:
parent
9d11a48cb1
commit
5a27ce17e8
@ -58,11 +58,11 @@ module.exports = function (RED) {
|
|||||||
function AnalogueInputNode(n) {
|
function AnalogueInputNode(n) {
|
||||||
RED.nodes.createNode(this, n);
|
RED.nodes.createNode(this, n);
|
||||||
var node = this;
|
var node = this;
|
||||||
this._pin = adjustName(this.pin); // Adjusted for Octal if necessary
|
|
||||||
|
|
||||||
// Store local copies of the node configuration (as defined in the .html)
|
// Store local copies of the node configuration (as defined in the .html)
|
||||||
this.topic = n.topic;
|
this.topic = n.topic;
|
||||||
this.pin = n.pin; // The Beaglebone Black pin identifying string
|
this.pin = n.pin; // The Beaglebone Black pin identifying string
|
||||||
|
this._pin = adjustName(this.pin); // Adjusted for Octal if necessary
|
||||||
this.breakpoints = n.breakpoints;
|
this.breakpoints = n.breakpoints;
|
||||||
this.averaging = n.averaging;
|
this.averaging = n.averaging;
|
||||||
if (this.averaging) {
|
if (this.averaging) {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-beaglebone",
|
"name" : "node-red-node-beaglebone",
|
||||||
"version" : "0.0.5",
|
"version" : "0.0.6",
|
||||||
"description" : "A set of Node-RED nodes to interface to the GPIO pins of a Beaglebone Black board",
|
"description" : "A set of Node-RED nodes to interface to the GPIO pins of a Beaglebone Black board",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user