Version 10 (modified by 7 years ago) ( diff ) | ,
---|
DisplayStr = DEPRECATED, DOES NOT CURRENTLY WORK!!! See DisplayText for alternative.
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
Note:
See TracWiki
for help on using the wiki.