blinkm

control your BlinkM LED with node.js

Usage no npm install needed!

<script type="module">
  import blinkm from 'https://cdn.skypack.dev/blinkm';
</script>

README

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();