[][src]Function mraa_sys::mraa_i2c_read_byte

pub unsafe extern "C" fn mraa_i2c_read_byte(dev: mraa_i2c_context) -> c_int

Simple read for a single byte from the i2c context

@param dev The i2c context @return The result of the read or -1 if failed