def message(self, text):
        line = 0
        # Iterate through each character.
        for char in text:
            # Advance to next line if character is a new line.
            if char == '\n':
                line += 1
                # Move to left or right side depending on text direction.
                col = 0 if self.displaymode & LCD_ENTRYLEFT > 0 else self._cols-1
                self.set_cursor(col, line)
            # Write the character to the display.
            else:
                self.write8(ord(char), True)
Write text to display.  Note that text can include newlines.
dataset/ETHPy150Open adafruit/Adafruit_Python_CharLCD/Adafruit_CharLCD/Adafruit_CharLCD.py/Adafruit_CharLCD.message