display

package
v0.0.0-...-7e22eb6 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRGBAtoUint32

func ParseRGBAtoUint32(c color.RGBA) uint32

func UpdateRoutine

func UpdateRoutine(c config.Config) (chan bool, chan bool, chan Pixel)

Types

type Leds

type Leds struct {
	Ws wsEngine
}

func New

func New(brightness int, ledcount int) (*Leds, error)

func (*Leds) Clear

func (l *Leds) Clear() error

func (*Leds) Display

func (l *Leds) Display(num int, c color.RGBA) error

type Pixel

type Pixel struct {
	Num   int
	Color color.RGBA
}

Jump to

Keyboard shortcuts

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