wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/PrintLCDfont2

Version 4 (modified by Don Wilson, 6 years ago) ( diff )

--

PrintLCDfont2

Prints text on the LCD screen using the default big font.

void PrintLCDfont2(const char* pszText);

void PrintLCDfont2(const string& strText);

Parameters

  • pszText - character array pointer such as string literal "Hello World"
  • strText - const string to display

Return Value

  • void - does not return any value

Remarks

  • Text may contain carriage returns to cause current position to drop to next line and left of screen. For example, "Hello\rWorld" will cause "Hello" to be displayed at the currect cursor location and "World" to be displayed one line down and at the left of the display.

Examples

LocateLCD(10, 10);
PrintLCDfont2("Hello World");
string strMsg = "Hello\rWorld";
LocateLCD(0, 0);
PrintLCD(strMsg);

See Also

Note: See TracWiki for help on using the wiki.