From 9d11a48cb16b5751e504d9c9386c40e6a0fe2d8d Mon Sep 17 00:00:00 2001 From: dceejay Date: Mon, 16 Mar 2015 16:28:01 +0000 Subject: [PATCH] Update to BBB node Fixes #105 Thanks @maxwellhadley --- hardware/BBB/145-BBB-hardware.js | 1 + hardware/BBB/package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hardware/BBB/145-BBB-hardware.js b/hardware/BBB/145-BBB-hardware.js index 17b916b2..f37f8fbe 100755 --- a/hardware/BBB/145-BBB-hardware.js +++ b/hardware/BBB/145-BBB-hardware.js @@ -58,6 +58,7 @@ module.exports = function (RED) { function AnalogueInputNode(n) { RED.nodes.createNode(this, n); 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) this.topic = n.topic; diff --git a/hardware/BBB/package.json b/hardware/BBB/package.json index 88ffcbb8..6a1220be 100644 --- a/hardware/BBB/package.json +++ b/hardware/BBB/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-beaglebone", - "version" : "0.0.4", + "version" : "0.0.5", "description" : "A set of Node-RED nodes to interface to the GPIO pins of a Beaglebone Black board", "dependencies" : { },