gpio

package
v0.0.0-...-4a210da Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IN  = "in"
	OUT = "out"
)

gpio驱动

Variables

This section is empty.

Functions

func Export

func Export(gpio int) error

func GetValue

func GetValue(gpio interface{}) (int, error)

func SetDirection

func SetDirection(gpio interface{}, direction string) error

func SetValue

func SetValue(gpio interface{}, value int) error

func UnExport

func UnExport(gpio int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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