View Source Circuits.I2C.I2CDev (circuits_i2c v2.0.4)

Circuits.I2C backend for the Linux i2c-dev interface

This backend works on Nerves, embedded Linux, and desktop Linux.

Summary

Functions

Return the I2C bus names on this system

Return information about this backend

Open an I2C bus

Functions

Return the I2C bus names on this system

No supported options

Return information about this backend

Open an I2C bus

Bus names are typically of the form "i2c-n" and available buses may be found by calling Circuits.I2C.bus_names/0.

Options:

  • :retries - Specify a nonnegative integer for how many times to retry a failed I2C operation.