docs: def checksum1(data, stringlength):
      """ Calculate Checksum 1
  
      Calculate the ckecksum 1 required for the herkulex data packet
  
      Args:
          data (list): the data of which checksum is to be calculated
          stringlength (int): the length of the data
  
      Returns:
          int:  The calculated checksum 1
      """
      value_buffer = 0
      for count in range(0, stringlength):
          value_buffer = value_buffer ^ data[count]
      return value_buffer&0xFE