Circuits.I2C.write_read-exclamation-mark

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

write_read!(i2c_bus, address, write_data, bytes_to_read, opts \\ [])

View Source

Specs

write_read!(bus(), address(), iodata(), pos_integer(), [opt()]) :: binary()

Write data to an I2C device and then immediately issue a read. Raise on errors.

Options:

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