code: func (c *i2cConnection) Write(data []byte) (written int, err error) {
  	c.mutex.Lock()
  	defer c.mutex.Unlock()
  
  	if err = c.bus.SetAddress(c.address); err != nil {
  		return 0, err
  	}
  	written, err = c.bus.Write(data)
  	return
  }
docs: // Write data to an i2c device.