Categorygithub.com/davecheney/gpio
modulepackage
0.0.0-20160912024957-a6de66e7e470
Repository: https://github.com/davecheney/gpio.git
Documentation: pkg.go.dev

# README

gpio

THIS PROJECT IS NO LONGER ACCEPTING ISSUES OR PULL REQUESTS

GPIO for Go

testing

Please run the 'blink' example found under examples/blink. Proper tests will be added soon.

alternatives

https://github.com/mrmorphic/hwio is another project aiming to expose the hardware capabilities of embedded systems via Go.

# Packages

No description provided by the author
package rpi provides a GPIO implementation customised for the RPi.

# Functions

OpenPin exports the pin, creating the virtual files necessary for interacting with the pin.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
the number of GPIO pins available.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Pin represents a GPIO pin.

# Type aliases

Edge represents the edge on which a pin interrupt is triggered.
IRQEvent defines the callback function used to inform the caller of an interrupt.
Mode represents a state of a GPIO pin.