Registry / other / warthog618-gpiod

warthog618-gpiod

JSON →
library0.9.1gogounverified

A Go library for accessing GPIO pins on Linux via the GPIO character device, equivalent to libgpiod.

go get github.com/warthog618/gpiod
INSTALL
IMPORT
SIG · WARTHOG618-GPIOD
W
warthog618-gpiod
othergov0.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gpiod
github.com/warthog618/gpiod

Opens GPIO chip 0 and sets line 17 high.

package main import ( "github.com/warthog618/gpiod" ) func main() { chip, _ := gpiod.NewChip("gpiochip0") line, _ := chip.RequestLine(17, gpiod.AsOutput(0)) line.SetValue(1) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.9.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
warthog618-gpiod — go get warthog618-gpiod · libregistry