load of tiny listing fixes, undef, unused, etc

This commit is contained in:
Dave Conway-Jones
2016-04-09 18:00:14 +01:00
parent 37ba29484a
commit 48bcd3c7df
22 changed files with 532 additions and 535 deletions

View File

@@ -27,8 +27,7 @@ module.exports = function(RED) {
var devices = HID.devices(0x16c0,0x05df);
for (var i=0; i< devices.length; i++) {
if (devices[i].product == 'DigiUSB') {
path = devices[i].path;
node.log("found: " + path);
node.log("found: " + devices[i].path);
try {
device = new HID.HID(devices[i].path);
break;

View File

@@ -1,6 +1,6 @@
{
"name" : "node-red-node-digirgb",
"version" : "0.0.5",
"version" : "0.0.6",
"description" : "A Node-RED node to control a Digispark RGB LED",
"dependencies" : {
"node-hid" : "0.4.*"