goflipdot

package
v0.0.0-...-41f10ca Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

Controller represents the main interface for controlling Hanover flipdot displays

func NewController

func NewController(serialPort string) (*Controller, error)

NewController creates a new Controller

func (*Controller) AddSign

func (c *Controller) AddSign(name string, address, width, height int) error

AddSign adds a new sign to the controller

func (*Controller) CreateImage

func (c *Controller) CreateImage(signName string) (*image.Gray, error)

CreateImage creates a blank image for a specific sign

func (*Controller) DrawImage

func (c *Controller) DrawImage(img *image.Gray, signName string) error

DrawImage sends an image to a specific sign

func (*Controller) StartTestSigns

func (c *Controller) StartTestSigns() error

StartTestSigns starts the test sequence on all connected signs

func (*Controller) StopTestSigns

func (c *Controller) StopTestSigns() error

StopTestSigns stops the test sequence on all connected signs

Jump to

Keyboard shortcuts

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