mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
parent
49b9277c26
commit
9300e81e3d
@ -495,7 +495,7 @@ module.exports = function (RED) {
|
|||||||
bonescript.detachInterrupt(node._pin);
|
bonescript.detachInterrupt(node._pin);
|
||||||
process.nextTick(function () {
|
process.nextTick(function () {
|
||||||
setPinMode(node._pin, bonescript.OUTPUT, function (response, pin) {
|
setPinMode(node._pin, bonescript.OUTPUT, function (response, pin) {
|
||||||
if (response.value === true) {
|
if (!response) {
|
||||||
node.on("input", inputCallback);
|
node.on("input", inputCallback);
|
||||||
// Set the pin to the default state once the dust settles
|
// Set the pin to the default state once the dust settles
|
||||||
setTimeout(endPulseCallback, 50);
|
setTimeout(endPulseCallback, 50);
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name" : "node-red-node-beaglebone",
|
"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",
|
"description" : "A set of Node-RED nodes to interface to the GPIO pins of a Beaglebone Black board",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
"octalbonescript":"^1.1.*"
|
"octalbonescript":"^1.1.*"
|
||||||
|
Loading…
Reference in New Issue
Block a user