Version 3 (modified by 14 years ago) ( diff ) | ,
---|
DisplayStr
Prints text on the LCD screen at the specified position using a specified font, and display logic.
void DisplayStr(int nFont, int x, int y, int dsplogic, const char* pszText); void DisplayStr(int nFont, int x, int y, int dsplogic, const std::string& strText);
Parameters
- nFont - font number.
- x - X coordinate (0 - 639)
- y - Y coordinate (0 - 479)
- dsplogic - DSP_LOGIC_OVERWRITE, DSP_LOGIC_SET, DSP_LOGIC_XOR, or DSP_LOGIC_RESET
- pszText - character array pointer such as string literal "Hello World" to display
- strText - string reference to string to display
Return Value
- void - does not return any value
Remarks
Examples
DisplayStr(4, 10, 10, DSP_LOGIC_XOR, "Hello World");
string strMsg = "Hello World"; DisplayStr(4, 10, 10, DSP_LOGIC_XOR, strMsg);
See Also
- LocateLCD
- PrintLCD
Note:
See TracWiki
for help on using the wiki.