wires

package
v0.0.0-...-06eecd2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wires

type Wires struct {
	// contains filtered or unexported fields
}

Wires represents a toy for Bobby Tables.

func New

func New() *Wires

New creates a new Wires instance.

func (*Wires) Apply

func (w *Wires) Apply()

Apply takes the loaded instructions and applies them to the wires.

func (*Wires) Load

func (w *Wires) Load(p string)

Load reads the instructions for setting up the toy.

func (*Wires) String

func (w *Wires) String() (ret string)

func (*Wires) ValueOf

func (w *Wires) ValueOf(s string) uint16

ValueOf returns the value of a given wire.

Jump to

Keyboard shortcuts

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