code: def clear(self):
          
          self.command(c.LCD_CLEARDISPLAY)
          self._cursor_pos = (0, 0)
          self._content = [[0x20] * self.lcd.cols for _ in range(self.lcd.rows)]
          c.msleep(2)
docs: Overwrite display with blank characters and reset cursor position.