usbdmxgolang

package module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

README

USBDMX

Library to read/write to/from DMX using USB.

Supported Controllers

  • Enttec DMX USB Pro

Quick Start

See Examples

Contributors

Actively: https://github.com/H3rby7

and based on work by:

License

See License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMXController

type DMXController interface {
	// Connect the device
	Connect() (err error)
	// Disconnect the device
	Disconnect() (err error)
	// Returns the device name
	GetName() string
	// Read raw from DMX
	Read(buf []byte) (int, error)
	// Write raw to DMX
	Write(buf []byte) (int, error)
	// Stage DMX value
	Stage(channel int16, value byte) error
	// Commit the staged values to the DMX network
	Commit() error
	// Get staged/last read DMX values
	GetStage() []byte
	// Clear all staged values to 0
	ClearStage()
	// Set log verbosity 0 = no logging; 1 = message logging; 2 = byte logging
	SetLogVerbosity(uint8)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL