neopixel

package
v0.0.0-...-cd3e5cb Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Smooth

func Smooth(length int, progress float32) (f []uint8)

Types

type Neopixel

type Neopixel struct {
	*ws2811.WS2811
}

func NewPixel

func NewPixel() (cw *Neopixel, err error)

func (*Neopixel) Countdown

func (cw *Neopixel) Countdown(duration time.Duration)

func (*Neopixel) Run

func (cw *Neopixel) Run()

func (*Neopixel) SetAll

func (cw *Neopixel) SetAll(c uint32)

func (*Neopixel) SetStatus

func (cw *Neopixel) SetStatus(msg string)

func (*Neopixel) ShowImage

func (cw *Neopixel) ShowImage(*fotos.Image)

func (*Neopixel) ShowMsg

func (cw *Neopixel) ShowMsg(msg string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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