display

package
v0.0.0-...-91df8d1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package display implements an interface to HUB75 RGB LED matrix panels.

Index

Constants

View Source
const (
	DefaultWidth      = 64 // px
	DefaultHeight     = 32 // px
	DefaultColorDepth = 4  // bits
)

Default constants for Display configuration.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

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

Display wraps the HUB75 device driver.

func New

func New(config rgb75.Config) (*Display, error)

New returns a new Display initialized with given configuration. This method will always return a nil Display or a nil error. It will never return nil or non-nil for both Display and error.

func (*Display) Update

func (d *Display) Update(data model.Model)

Jump to

Keyboard shortcuts

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