A node library to drive a Declom Visual Indicator Screenflow torrent.

Our development roadmap is on the delcom-indicator Trello board

##Install

在节点v0.10之后,node.js v4和v5从。 安装. 对于大多数'标准'用例( x86或者x64处理器上的mac,linux,Windows 上的节点 v4.x ),node-hid 将使用一个标准安装好且易于使用: npm install node-hid. Compiling electron-hid-toy on Mac OS X. GitHub Gist: instantly share code, notes, and snippets.

##Use

A more complete example is found in tests/spike.cs. The test opens an attached Delcom light and runs through the availablefunctionality by turning it solid greed, red and blue and then flashing each color.

##Related Application

A Build Light indicator for TeamCity that utilizes thislibrary to show the status of builds.

##Supported PlatformsThis library is known to work on Mac and Linux platforms where node-hid canbe installed. It was designed and tested on Mac OS/X 10.9.2, Max OS/X 10.11.3 and Raspian (all updates installed as of March 12, 2016).It has not been tested on Windows but should work provided that node-hid can be installed. It requires Node 4.x or higher.

Depending on your platform, Node-hid may require a compile, which adds additional dependencies. See the node-hid readme for details.

On Linux you need to grant permissions to write to the Delcom device. On Raspian, you can create a file:

With the following rule (replace the group name with a group of your choice):

You will have to reboot to make the rule take effect.

##Development PrerequisitesYou need to install gulp-cli globally using:

You can then run tests using:

Nodejs udev

The tests require you to have a Delcom USB device connected.