matrix

package
v0.0.0-...-d87ebdb Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithBrightnes

func WithBrightnes(brightness int) func(*ws281x.Option)

WithBrightness sets the overall brightness of the LEDs

Types

type Matrix

type Matrix interface {
	// Print
	Print(img image.Image) error

	// Animate
	Animate(gif []*image.Paletted) error
}

func New

func New(rows, cols int, opts ...MatrixOption) (Matrix, error)

New creates a new matrix which is connected to the LED-Strip

type MatrixOption

type MatrixOption func(*ws281x.Option)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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