{"id":72359,"library":"d2r2-go-i2c","title":"Go I2C","description":"A Go library for communicating with I2C devices on Linux.","status":"active","version":"0.0.0-20191123181816-73a8a799d6bc","language":"go","source_language":null,"source_url":"https://github.com/d2r2/go-i2c","tags":["i2c","hardware","linux","embedded"],"install":[{"cmd":"go get github.com/d2r2/go-i2c","lang":"bash","label":"Install github.com/d2r2/go-i2c"}],"dependencies":[],"imports":[{"symbol":"i2c","correct":"github.com/d2r2/go-i2c"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/d2r2/go-i2c\"\n)\n\nfunc main() {\n\tbus, err := i2c.NewI2C(0x48, 1)\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tdefer bus.Close()\n\tfmt.Println(\"I2C bus opened\")\n}","lang":"go","description":"Open an I2C bus and connect to a device at address 0x48."},"warnings":[],"env_vars":null,"search_vec":"'communic':7 'devic':10 'embed':16 'go':1,4 'hardwar':14 'i2c':2,9,13 'librari':5 'linux':12,15","created_at":"2026-06-17T18:38:06.694845+00:00","updated_at":"2026-06-17T18:38:06.694845+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/d2r2/go-i2c","github":"https://github.com/d2r2/go-i2c","docs":"https://pkg.go.dev/github.com/d2r2/go-i2c#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}}