pump

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pump

type Pump interface {
	Configure()
	Pump(duration time.Duration, iterations uint8)
}

Pump is used to control a pump.

func NewPump

func NewPump(pin machine.Pin) Pump

NewPump creates a new instance of Pump.

Jump to

Keyboard shortcuts

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