def write(self, data): """ write(I2c self, uint8_t const * data) -> mraa::Result Parameters: data: uint8_t const * """ return _mraa.I2c_write(self, data)
def write(self, data): """ write(I2c self, uint8_t const * data) -> mraa::Result Parameters ---------- data: uint8_t const * Write length bytes to the bus, the first byte in the array is the command/register to write Parameters: ----------- data: Buffer to send on the bus, first byte is i2c command length: Size of buffer to send Result of operation """ return _mraa.I2c_write(self, data)
def write(self, data): return _mraa.I2c_write(self, data)