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
Click to show internal directories.
Click to hide internal directories.