hackcentercontrol/nodeartnet/node_modules/artnet/test/test-client.js
2012-12-28 23:17:47 +01:00

6 lines
No EOL
187 B
JavaScript

var artnetclient = require('../lib/artnet_client');
var data = [255, 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0];
var client = artnetclient.createClient('127.0.0.1', 6454);
client.send(data);