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) Connect ¶
func (d *DMXController) Connect() error
Connect handles connection to a the ft232 DMX controller
func (*DMXController) Disconnect ¶
func (d *DMXController) Disconnect() error
Disconnect disconnects the usb device
func (*DMXController) GetChannel ¶
func (d *DMXController) GetChannel(index int16) (byte, error)
GetChannel returns the value of a single DMX channel
func (*DMXController) GetChannels ¶
func (d *DMXController) GetChannels() []byte
GetChannels gets a copy of all of the channels
func (*DMXController) Render ¶
func (d *DMXController) Render() error
Render sends channel data to fixtures
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.