gpio GPIO contains code in Go and C to control GPIO ports on a Raspberry Pi. See the associated articles at https://youngkin.github.io/categories/gpio/ for more details.