Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitbucket.org/mbrittan/i2c

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbucket.org/mbrittan/i2c

  • v0.0.0-20240531055508-8ecf0e073bf4
  • Source
  • Go
  • Socket score

Version published
Created
Source

i2c - Library to connect to I2C bus and allow access to I2C and SMBus devices

This package aims to provide a simple method to access I2C and SMBus devices. The functionality is limited to what I required at the time it was created but it should be commented well enough for others to extend it to meet their needs (have included quite a bit C code in the comments to make it easy to find the relevant bits in the kernel code).

Currently supports Linux only and has only been tested with a small number of devices connected to amd64 linux machines.

Note: While only linux is supported the code has been written so that it will compile on any platform (but will always return an error if used).

Thanks to the authors of periph.io (have copied/pasted a hunk of code) and github.com/go-daq/smbus (helped me work out the smbus calls).

FAQs

Package last updated on 31 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc