dmxcontroller

package
v0.3.0 Latest Latest
Warning

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

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

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()
}

Generic interface for DMX controllers

Directories

Path Synopsis
enttec

Jump to

Keyboard shortcuts

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