backcompat

package
v0.0.0-...-62e5a7b Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: GPL-3.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func V2FromHX711

func V2FromHX711(hx711 HX711) hx711.V2

Types

type HX711 deprecated

type HX711 interface {
	analog.PinADC
	ReadContinuous() <-chan analog.Sample
	ReadTimeout(timeout time.Duration) (int32, error)
	SetInputMode(inputMode periphimpl.InputMode) error
	IsReady() bool
}

HX711 replicates the interface of the periph.io driver for the HX711 load cell amplifier. This interface is deprecated, use V2 instead

Deprecated: use V2 instead

func HX711FromV2

func HX711FromV2(v2 hx711.V2) HX711

Jump to

Keyboard shortcuts

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