DisplayStr DEPRECATED - Replace with DisplayText
Displays text on the LCD display at the specified position using a specified font, and display logic.
void DisplayStr(int nFont, int x, int y, int dsplogic, const string& strText); void DisplayStr(int nFont, int x, int y, int dsplogic, const char* pszText);
Parameters
- nFont - font number.
- x - X coordinate (0 - 639)
- y - Y coordinate (0 - 479)
- dsplogic - display logic, DSP_LOGIC_OVERWRITE, DSP_LOGIC_SET, DSP_LOGIC_XOR, or DSP_LOGIC_RESET
- strText - text to display
- pszText - character array pointer such as string literal "Hello World" to display
Return Value
This function does not return any value.
Remarks
InitLCD must be called at the beginning of any application that will use the display.
Examples
DisplayStr(4, 10, 10, DSP_LOGIC_XOR, "Hello World");
string strMsg = "Hello World"; DisplayStr(4, 10, 10, DSP_LOGIC_XOR, strMsg);
See Also
Last modified
10 months ago
Last modified on 01/19/24 10:38:36
Note:
See TracWiki
for help on using the wiki.