Changes between Version 3 and Version 4 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/PrintLCD


Ignore:
Timestamp:
08/19/10 21:33:03 (14 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/Display/PrintLCD

    v3 v4  
    11= PrintLCD =
    2 Prints text on the LCD screen using the default font.
     2Display text on the LCD screen at the current X Y coordinate using the default font.
    33
    44{{{
     5void PrintLCD(const string& strText);
     6
    57void PrintLCD(const char* pszText);
    6 
    7 void PrintLCD(const std::string& strText);
    88}}}
    99
    1010== Parameters ==
    1111
    12  * pszText - character array pointer such as string literal "Hello World"
    13  * strText - const string reference
     12 * strText - string variable to display
     13 * pszText - pointer to character array to display such as literal "Hello World"
    1414
    1515== Return Value ==
     
    2424
    2525{{{
    26 LocateLCD(10, 10);
    27 PrintLCD("Hello World");
     26string strMsg = "Hello\rWorld";
     27LocateLCD(0, 0);
     28PrintLCD(strMsg);
    2829}}}
    2930
    3031{{{
    31 string strMsg = "Hello\rWorld";
    32 LocateLCD(0, 0);
    33 PrintLCD(strMsg);
     32LocateLCD(10, 10);
     33PrintLCD("Hello World");
    3434}}}
    3535