Interface TextLCD

    • Method Detail

      • drawChar

        void drawChar​(char c,
                      int x,
                      int y)
        Draw a single char on the LCD at specified x,y co-ordinate.
        Parameters:
        c - Character to display
        x - X location
        y - Y location
      • drawString

        void drawString​(java.lang.String str,
                        int x,
                        int y,
                        boolean inverted)
        Display an optionally inverted string on the LCD at specified x,y co-ordinate.
        Parameters:
        str - The string to be displayed
        x - The x character co-ordinate to display at.
        y - The y character co-ordinate to display at.
        inverted - if true the string is displayed inverted.
      • drawString

        void drawString​(java.lang.String str,
                        int x,
                        int y)
        Display a string on the LCD at specified x,y co-ordinate.
        Parameters:
        str - The string to be displayed
        x - The x character co-ordinate to display at.
        y - The y character co-ordinate to display at.
      • drawInt

        void drawInt​(int i,
                     int x,
                     int y)
        Display an int on the LCD at specified x,y co-ordinate.
        Parameters:
        i - The value to display.
        x - The x character co-ordinate to display at.
        y - The y character co-ordinate to display at.
      • drawInt

        void drawInt​(int i,
                     int places,
                     int x,
                     int y)
        Display an in on the LCD at x,y with leading spaces to occupy at least the number of characters specified by the places parameter.
        Parameters:
        i - The value to display
        places - number of places to use to display the value
        x - The x character co-ordinate to display at.
        y - The y character co-ordinate to display at.
      • clear

        void clear​(int x,
                   int y,
                   int n)
        Clear a contiguous set of characters
        Parameters:
        x - the x character coordinate
        y - the y character coordinate
        n - the number of characters
      • clear

        void clear​(int y)
        Clear an LCD display row
        Parameters:
        y - the row to clear
      • scroll

        void scroll()
        Scrolls the screen up one text line
      • getFont

        Font getFont()
        Get the current font
      • getTextWidth

        int getTextWidth()
        Get the width of the screen in characters
      • getTextHeight

        int getTextHeight()
        Get the height of the screen in characters