stianeikeland/go-rpio
:electric_plug: Raspberry Pi GPIO library for go-lang observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4782
- days_rel: n/a
- days_push: 1068
- n_releases_24m: 0
Adoption not part of the score
2287 stars · 224 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A pure-Go library for accessing GPIO pins on Raspberry Pi boards without external C dependencies like WiringPI or bcm2835. It supports pin input/output, pull-up/down, PWM, clock modes, edge detection, and SPI communication via /dev/gpiomem.
Use cases
- control GPIO pins on a Raspberry Pi from Go
- blink an LED connected to a Pi header pin
- read button or sensor state via GPIO input
- communicate with SPI devices from a Raspberry Pi
- generate PWM signals on a Pi pin
- set pull-up or pull-down resistors on GPIO pins
When to choose
- you want GPIO access in Go with no external C library dependencies
- you're targeting Raspberry Pi hardware including Pi 4
- you need SPI, PWM, or edge detection alongside basic GPIO
When to avoid
- you need GPIO on non-Raspberry-Pi single-board computers
- you're on a platform without /dev/gpiomem or /dev/mem access
- you need a maintained library with active development
Facets
library · maturity maintenance
embedded sdk iot embedded-systems hardware go embedded gpio raspberry-pi bcm2835 spi pwm hardware-interfacing no-cgo linux
1 source
- readme: https://github.com/stianeikeland/go-rpio · fetched 2026-08-28 · a5c3db854384
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| stianeikeland/go-rpio | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="stianeikeland/go-rpio")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem