gpio

package module
v0.0.0-...-3c07fe0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2022 License: MIT Imports: 3 Imported by: 0

README

go-gpio-sysfs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level uint8
const (
	Low Level = iota
	High
)

type Pin

type Pin interface {
	Free() error
	Out(Level) error
	In() (Level, error)
}

func TakePin

func TakePin(pinNum uint8) (Pin, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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