0.1.0 • Published 8 years ago

udmx v0.1.0

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
8 years ago

uDMX.js

A library to interact with uDMX dongles

Sample usage:

#!/usr/bin/env nodejs

var uDMX = require('udmx');

var dmx = new uDMX();

dmx.on('channel-all', (channel, value) => {console.log(channel + ' => ' + value);});
dmx.on('connected', () => {console.log('Connected');});

dmx.connect();

setInterval(() => {dmx.set(Math.round(Math.random() * 512), Math.round(Math.random() * 255));}, 1000);