code: def write_byte(self, address, data):
          
          buf = [
              self.WriteCommandWord,
              address // 256,
              address % 256,
              self.EndMark,
              self.WriteCommandWord,
              data,
              0,
              self.EndMark,
              ]
          if not self.dev.write_data(buf):
              return False
          buf = self.dev.read_data(8)
          if buf is None:
              return False
          for byte in buf:
              if byte != 0xA5:
                  return False
          return True
docs: Write a single byte to the weather station.
  
          :param address: address to write to.
  
          :type address: int
  
          :param data: the value to write.
  
          :type data: int
  
          :return: success status.
  
          :rtype: bool