display

package
v0.0.0-...-c19916e Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutomaticDimmer

func AutomaticDimmer(c config.Config, setBrightness chan int) chan bool

func ParseRGBAtoUint32

func ParseRGBAtoUint32(c color.RGBA) uint32

func UpdateRoutine

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

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)

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