mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
pi gpio - bump to include msg complete capability
This commit is contained in:
parent
67c3d251e4
commit
055be01332
@ -139,9 +139,7 @@ module.exports = function(RED) {
|
|||||||
if (RED.settings.verbose) { node.log("out: "+out); }
|
if (RED.settings.verbose) { node.log("out: "+out); }
|
||||||
if (node.child !== null) {
|
if (node.child !== null) {
|
||||||
node.child.stdin.write(out+"\n", () => {
|
node.child.stdin.write(out+"\n", () => {
|
||||||
if (done) {
|
if (done) { done(); }
|
||||||
done();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
node.status({fill:"green",shape:"dot",text:msg.payload.toString()});
|
node.status({fill:"green",shape:"dot",text:msg.payload.toString()});
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-red-node-pi-gpio",
|
"name": "node-red-node-pi-gpio",
|
||||||
"version": "1.0.9",
|
"version": "1.1.0",
|
||||||
"description": "The basic Node-RED node for Pi GPIO",
|
"description": "The basic Node-RED node for Pi GPIO",
|
||||||
"dependencies" : {
|
"dependencies" : {
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user