mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
load of tiny listing fixes, undef, unused, etc
This commit is contained in:
@@ -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;
|
||||
|
@@ -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.*"
|
||||
|
Reference in New Issue
Block a user