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)
- Host: GitHub
- URL: https://github.com/polarspetroll/gopio
- Owner: polarspetroll
- License: mit
- Created: 2021-08-19T19:54:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-20T20:00:02.000Z (over 2 years ago)
- Last Synced: 2024-10-09T12:36:14.791Z (7 months ago)
- Topics: cgo, clang, electronics, go, golang, golang-library, golang-package, gpio, hardware, raspberry-pi, raspberry-pi-gpio, wiringpi
- Language: Go
- Homepage:
- Size: 759 KB
- Stars: 16
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 wiringpigo get github.com/polarspetroll/gopio
```### Pin Numbering
this package uses physical pin numbering.(both wiringpi functions and default functions)
[WiringPi Mirror](https://github.com/WiringPi/WiringPi)