Skip to content

scottlaird/udmx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

udmx

udmx provides a Go interface for talking to cheap "udmx" USB-DMX interfaces such as this one.

This was developed using markusb/uDMX-linux as documentation of the interface to udmx devices, but doesn't reuse any of the code.

Example

import (
  "github.com/google/gousb"
  "github.com/scottlaird/udmx"
)

func main() {
  ctx := gousb.NewContext()
  udmx, err := udmx.NewUDMXDevice(ctx)
  if err != nil {
    panic(err)
  }

  // Set DMX device #5 to `17`.
  udmx.Set(5, 17)
}

Disclaimer

This is not an official Google project.

About

Golang driver for 'udmx' USB DMX512 controller devices

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages