Update Pi Hardware nodes that call python

Pibrella, PiLiter, PiLcd
This commit is contained in:
Dave Conway-Jones
2015-12-12 16:33:39 +00:00
parent 11dfcd4a46
commit 1a9da583f1
8 changed files with 94 additions and 22 deletions

View File

@@ -20,7 +20,7 @@ module.exports = function(RED) {
var spawn = require('child_process').spawn;
var fs = require('fs');
var gpioCommand = __dirname + '/nrlcd';
var gpioCommand = __dirname + '/nrlcd.py';
if (!fs.existsSync("/dev/ttyAMA0")) { // unlikely if not on a Pi
//util.log("Info : Ignoring Raspberry Pi specific node.");