node-lightpack-led
Control you lightpack directly without the Prismatik software using node and HID.
Getting started
npm install git+ssh://git@github.com:tkhduracell/node-lightpack-led.git --save
Usage
Get devices
const lp = ;console;
Returns a list of devices.
version: "7.5" leds: 10 id: "95230303231351210201" manufacturer: "lightpack.googlecode.com" product: "Lightpack" { ... } { ... } { ... } { ... } { ... }
Set color of leds to red
const lp = ; lp;
Address leds individually
const lp = ; const colors = r: 255 g: 0 b: 0 r: 255 g: 0 b: 0 r: 255 g: 0 b: 0 lp;