jsimonetti / go-artnet

This package attempts to implement the Art-Net 4 specification from (c) Artistic Licence Holding Ltd.
MIT License
33 stars 20 forks source link

choose universe #34

Closed noobusdeer closed 9 months ago

noobusdeer commented 1 year ago

I look at simple dmx examples, but how i can change from 0 to 1 universe

aklinkert commented 1 year ago

Hey @noobusdeer,

the second argument to SendDMXToAddress(dmx [512]byte, address Address) is the universe address. For translation from a uint16 to a artnet.Address you can have a look at https://github.com/StageAutoControl/controller/blob/master/pkg/artnet/controller.go#L115.

Does this help?

Best, Alex

jsimonetti commented 9 months ago

Closing this for now due to lack of response.