code: def _write_register(self, reg, value):
          
          self.buf[0] = reg
          self.buf[1] = (value >> 8) & 0xFF
          self.buf[2] = value & 0xFF
          with self.i2c_device as i2c:
              i2c.write(self.buf)
docs: Write 16 bit value to register.