dmx

package
v0.0.0-...-de4951f Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDMX

func InitDMX(slaveAddress byte, data *DMXData, lyricsDMXInfo chan<- uint, wg *sync.WaitGroup, quit, pause, play <-chan struct{})

func ResetDMX

func ResetDMX(data *DMXData)

ResetDMX function resets the DMX values to the defaults

Types

type DMXData

type DMXData struct {
	DisplayMode        byte
	BackgroundMode     byte
	WhiteDots          bool
	ColorPalette       byte
	PaletteAngle       byte
	PalettePhaseOffset byte
	Color              color.RGBA
	LyricsDMXInfo      uint
}

DMXData is a struct containing all the data received via DMX

Jump to

Keyboard shortcuts

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