Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 272 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 272 Bytes

BlinkM

control your BlinkM LED with node.js

Install

$ npm install blinkm

Example

var BlinkM = require('blinkm');
var address = 0x05;

var pixel = new BlinkM(address, '/dev/i2c-1');

pixel.setRGB(255, 0, 0); // red
pixel.off();