mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-12-26 23:16:47 +01:00
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user