Returns LCD type as a string, either monochrome or rgb

def getLCDType(self):
    """Returns LCD type as a string, either monochrome or rgb"""
    command = '$GE'
    settings = self.sendCommand(command)
    flags = int(settings[2], 16)
    if flags & 0x0100:
      lcdtype = 'monochrome'
    else:
      lcdtype = 'rgb'
    return lcdtype