{"id":65932,"library":"stianeikeland-go-rpio","title":"Go RPIO","description":"Package rpio provides GPIO access on the Raspberry Pi without requiring external C libraries.","status":"active","version":"4.2.0+incompatible","language":"go","source_language":null,"source_url":"https://github.com/stianeikeland/go-rpio","tags":["raspberry-pi","gpio","hardware","embedded"],"install":[{"cmd":"go get github.com/stianeikeland/go-rpio","lang":"bash","label":"Install github.com/stianeikeland/go-rpio"}],"dependencies":[],"imports":[{"symbol":"rpio","correct":"github.com/stianeikeland/go-rpio"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/stianeikeland/go-rpio\"\n)\n\nfunc main() {\n\terr := rpio.Open()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer rpio.Close()\n\tpin := rpio.Pin(18)\n\tpin.Output()\n\tpin.High()\n\tfmt.Println(\"Pin 18 set to high\")\n}","lang":"go","description":"Opens GPIO access, sets pin 18 as output, and drives it high."},"warnings":[{"fix":"Ensure you are running on a Raspberry Pi with appropriate permissions.","message":"This package uses cgo and requires the Raspberry Pi's GPIO hardware to function.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'access':7 'c':15 'embed':22 'extern':14 'go':1 'gpio':6,20 'hardwar':21 'librari':16 'packag':3 'pi':11,19 'provid':5 'raspberri':10,18 'raspberry-pi':17 'requir':13 'rpio':2,4 'without':12","created_at":"2026-06-17T17:17:01.534269+00:00","updated_at":"2026-06-17T17:17:01.534269+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/stianeikeland/go-rpio","github":"https://github.com/stianeikeland/go-rpio","docs":"https://pkg.go.dev/github.com/stianeikeland/go-rpio#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}