write method
Write - mraa_i2c_write
Write length bytes to the bus, the first byte in the array is the command/register to write.
Implementation
MraaReturnCode write(
MraaI2cContext context, Pointer<Uint8> data, int length) =>
MraaReturnCode.returnCode(_impl.mraa_i2c_write(context, data, length));