rgbmatrix

package module
v0.0.0-...-8e2daa9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package rgbmatrix is a Go binding for https://github.com/hzeller/rpi-rgb-led-matrix

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = Config{
	Rows:              32,
	Columns:           32,
	ChainLength:       1,
	Parallel:          1,
	Brightness:        100,
	PWMBits:           11,
	PWMLSBNanoseconds: 130,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Rows              int
	Columns           int
	ChainLength       int
	Parallel          int
	Brightness        int
	PWMBits           int
	PWMLSBNanoseconds int
}

type Matrix

type Matrix struct {
	*image.RGBA
	// contains filtered or unexported fields
}

func New

func New(cfg Config) (*Matrix, error)

func (*Matrix) Close

func (m *Matrix) Close()

func (*Matrix) Swap

func (m *Matrix) Swap()

Directories

Path Synopsis
rpc

Jump to

Keyboard shortcuts

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