Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DMXController ¶
type DMXController struct {
// contains filtered or unexported fields
}
DMXController a real world FT232 DMX Controller to handle comms
func NewDMXController ¶
func NewDMXController(conf usbdmx.ControllerConfig) DMXController
NewDMXController helper function for creating a new ft232 controller
func (*DMXController) Close ¶
func (d *DMXController) Close() error
func (*DMXController) Connect ¶
func (d *DMXController) Connect() error
Connect handles connectio to a mock DMX controller
func (*DMXController) GetChannel ¶
func (d *DMXController) GetChannel(index int16) (byte, error)
GetChannel returns the value of a single DMX channel
func (*DMXController) Render ¶
func (d *DMXController) Render() error
Render sends channel data to fixtures, in this case prints it to stdout
func (*DMXController) SetChannel ¶
func (d *DMXController) SetChannel(index int16, data byte) error
SetChannel sets a single DMX channel value
Click to show internal directories.
Click to hide internal directories.