code: def write8(self, register, value):
          
          value = value & 0xFF
          self._bus.write_byte_data(self._address, register, value)
          self._logger.debug("Wrote 0x%02X to register 0x%02X",
                       value, register)
docs: Write an 8-bit value to the specified register.