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

PrintLCD

Display text on the LCD screen at the current X Y coordinate using the default font.

void PrintLCD(const string& strText);

void PrintLCD(const char* pszText);

Parameters

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

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 current cursor location and "World" to be displayed one line down and at the left of the display.

Examples

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

See Also

Last modified 7 years ago Last modified on 04/19/18 07:13:01
Note: See TracWiki for help on using the wiki.