readByteData method

int readByteData(
  1. MraaI2cContext context,
  2. int register
)

Read byte data - mraa_i2c_read_byte_data

Read a single byte from an I2C context, from the designated register Returns Mraa.generalError on failure

Implementation

int readByteData(MraaI2cContext context, int register) =>
    _impl.mraa_i2c_read_byte_data(context, register);