hackcentercontrol/nodeartnet/node_modules/artnet/test/test-client.js

6 lines
187 B
JavaScript
Raw Permalink Normal View History

2012-12-28 22:17:47 +00:00
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);