[−][src]Function mraa_sys::mraa_i2c_write
pub unsafe extern "C" fn mraa_i2c_write(
dev: mraa_i2c_context,
data: *const u8,
length: c_int
) -> mraa_result_t
Write length bytes to the bus, the first byte in the array is the command/register to write
@param dev The i2c context @param data pointer to the byte array to be written @param length the number of bytes to transmit @return Result of operation