Lightpad MK2
A utility for manipulating the LED lights on Novation's Launchpad MK2.
Usage
Get started
Install and require.
$ npm install lightpad-mk2
In your file:
var pad =
Simple on/off
To turn on and off the LED for one of the buttons, use the on
and off
methods with x and y coordinates and an optional color. Numbering starts in the
botton right corner.
pad// turns on the button in the first column, three from the bottompad// does the exact same thing; color defaults to 60 (red) when not designatedpad// turns off the same button