ft232

package
v0.0.0-...-3b43952 Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: GPL-3.0 Imports: 3 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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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