From 251d5c8be6979240a6ed1302b2cb9cc9a0d2a151 Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Sat, 9 Jan 2016 16:57:13 +0000 Subject: [PATCH] fix pilcd access to io (needs to be root) --- hardware/PiLcd/package.json | 2 +- hardware/PiLcd/pilcd.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/PiLcd/package.json b/hardware/PiLcd/package.json index 38a755fd..79b16929 100644 --- a/hardware/PiLcd/package.json +++ b/hardware/PiLcd/package.json @@ -1,6 +1,6 @@ { "name" : "node-red-node-pilcd", - "version" : "0.0.2", + "version" : "0.0.3", "description" : "A Node-RED node for Raspberry Pi to write to HD44780 style LCD panels.", "dependencies" : { }, diff --git a/hardware/PiLcd/pilcd.js b/hardware/PiLcd/pilcd.js index b00b8940..7a556fbd 100644 --- a/hardware/PiLcd/pilcd.js +++ b/hardware/PiLcd/pilcd.js @@ -20,7 +20,7 @@ module.exports = function(RED) { var spawn = require('child_process').spawn; var fs = require('fs'); - var gpioCommand = __dirname + '/nrlcd.py'; + var gpioCommand = __dirname + '/nrlcd'; if (!fs.existsSync("/dev/ttyAMA0")) { // unlikely if not on a Pi //util.log("Info : Ignoring Raspberry Pi specific node.");