An open API service indexing awesome lists of open source software.

https://github.com/polarspetroll/gopio

Raspberry pi GPIO controller package(CGO)
https://github.com/polarspetroll/gopio

cgo clang electronics go golang golang-library golang-package gpio hardware raspberry-pi raspberry-pi-gpio wiringpi

Last synced: 4 days ago
JSON representation

Raspberry pi GPIO controller package(CGO)

Awesome Lists containing this project

README

        

# GOPIO
A simple gpio controller package for raspberrypi.

[Documentation](https://pkg.go.dev/github.com/polarspetroll/gopio#section-documentation)

[Examples](https://github.com/polarspetroll/gopio/tree/main/examples)

### Installation

```bash
sudo apt-get install wiringpi

go get github.com/polarspetroll/gopio
```

### Pin Numbering
this package uses physical pin numbering.(both wiringpi functions and default functions)

![](gpio_map.jpeg)

[WiringPi Mirror](https://github.com/WiringPi/WiringPi)