Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 508 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 508 Bytes

Java ArtNet Library

Constructor:

  • ArtNetLib(String socketIp): Constructor with the ip address of the socket.
    ArtNetLib artnet = new ArtNetLib("xxx.xxx.xxx.xxx");
    

Method:

  • sendArtDmxPacket(byte[] dmxChannelData, byte universe, byte subnet, byte net): Send a ArtDmx packet with the dmx data contained on a 512 elements byte array (Elements values from 0 to 255).
    byte[] data = new byte[512];
    ...
    artnet.sendArtDmxPacket(data, universe, subnet, net);