ui

package
v0.0.0-...-86f3bae Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyPins

type KeyPins []pin.KeyPin

func (KeyPins) IsKeyPressed

func (k KeyPins) IsKeyPressed() bool

type LedPins

type LedPins []pin.LedPin

func (LedPins) High

func (l LedPins) High()

func (LedPins) Low

func (l LedPins) Low()

type UI

type UI struct {
	Display display.UpdateChannel
	Leds    led.UpdateChannel
	Keys    <-chan keys.Event
}

func New

func New(ctx context.Context, ctxLED context.Context, ledPins []led.Pins, keyPins []keys.Pins, displays []display.UpdateChannel) UI

Jump to

Keyboard shortcuts

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