gpio

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

Close ensures a valid state for all pins

func GetState

func GetState(pinID int) string

GetState returns the state of a given gpio pin

func Off

func Off(pinID int)

Off deactivates a single pin

func On

func On(pinID int)

On activates a single pin

Types

This section is empty.

Jump to

Keyboard shortcuts

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