parent
49b9277c26
commit
9300e81e3d
|
@ -495,7 +495,7 @@ module.exports = function (RED) {
|
|||
bonescript.detachInterrupt(node._pin);
|
||||
process.nextTick(function () {
|
||||
setPinMode(node._pin, bonescript.OUTPUT, function (response, pin) {
|
||||
if (response.value === true) {
|
||||
if (!response) {
|
||||
node.on("input", inputCallback);
|
||||
// Set the pin to the default state once the dust settles
|
||||
setTimeout(endPulseCallback, 50);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name" : "node-red-node-beaglebone",
|
||||
"version" : "0.1.5",
|
||||
"version" : "0.1.6",
|
||||
"description" : "A set of Node-RED nodes to interface to the GPIO pins of a Beaglebone Black board",
|
||||
"dependencies" : {
|
||||
"octalbonescript":"^1.1.*"
|
||||
|
|
Loading…
Reference in New Issue