dmx-flok/drivers/null.js
2012-09-02 14:36:08 +02:00

13 lines
204 B
JavaScript

exports.init = function(dev_id) {
var universe = new Buffer(512)
universe.fill(0)
this.update = function(u) {
console.log(u);
}
this.get = function(k) {
return universe[k];
}
return this;
}