Circuits.I2C.read

You're seeing just the function read, go back to Circuits.I2C module for more information.
Link to this function

read(i2c_bus, address, bytes_to_read, opts \\ [])

View Source

Specs

read(bus(), address(), pos_integer(), [opt()]) ::
  {:ok, binary()} | {:error, term()}

Initiate a read transaction to the I2C device at the specified address

Options:

  • :retries - number of retries before failing (defaults to no retries)