dmx

package module
v0.0.0-...-80f180c Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MIT Imports: 4 Imported by: 0

README

Go DMX Go

A lightweight library for DMX 512 communication writen in Golang (Go). DMX 512 Wiki

Copyright (c) 2020 JOVISAIB All Rights Reserved. https://www.jovisaib.com

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DMX

type DMX struct {
	// contains filtered or unexported fields
}

DMX is the model for serial DMX connection

func NewDMXConnection

func NewDMXConnection(device string) (dmx *DMX, err error)

NewDMXConnection creates a new DMX connection using an specific serial device

func (*DMX) Close

func (dmx *DMX) Close() error

Close serial port

func (*DMX) Render

func (dmx *DMX) Render() error

Render sends frame to serial device

func (*DMX) SetAddress

func (dmx *DMX) SetAddress(address int, value byte) error

SetAddress -

Jump to

Keyboard shortcuts

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