VEX2 Functions Display
| Line 234: | Line 234: | ||
{| | {| | ||
|- | |- | ||
| − | |<syntaxhighlight lang="ROBOTC">displayLCDString(0,0,"ROBOTC"); // displays the string "ROBOTC" starting from the first position | + | |<syntaxhighlight lang="ROBOTC"> |
| − | + | displayLCDString(0,0,"ROBOTC"); // displays the string "ROBOTC" starting from the first position | |
| + | // on the first line</syntaxhighlight> | ||
|- | |- | ||
|} | |} | ||
Revision as of 08:42, 13 February 2012
|
Main >> CORTEX >> Functions and Variables >> Display |
| For information about ROBOTC string, please see the article: Strings. |
|
| |||||||
clearLCDLine
| void clearLCDLine(const int nLine) | ||||||
| (void) Clears the indicated line of the VEX LCD to blanks. | ||||||
| ||||||
|
displayLCDCenteredString
| void displayLCDCenteredString(const int nLine, string sString) | |||||||||
| (void) Clears the indicated line of the VEX LCD to blanks. | |||||||||
| |||||||||
|
displayLCDChar
| void displayLCDChar(const int nLine, const int nPos, const int cChar) | ||||||||||||
| (void) Clears the indicated line of the VEX LCD to blanks. | ||||||||||||
| ||||||||||||
|
displayLCDNumber
| void displayLCDNumber(const int nLine, const int nPos, const int nValue, const int nPrecision = -1) | |||||||||||||||
| (void) Displays a number nValue on line nLine at position nPos. | |||||||||||||||
| |||||||||||||||
|
displayLCDPos
| void displayLCDPos(const int nLine, const int nPos) | |||||||||
| (void) Sets the next display position on the VEX LCD. | |||||||||
| |||||||||
|
displayLCDString
| void displayLCDString(const int nLine, const int nPos, string sString) | ||||||||||||
| (void) Displays a string sString on line nLine at position nPos. | ||||||||||||
| ||||||||||||
|
displayNextLCDChar
| void displayNextLCDChar(const int cChar) | ||||||
| (void) Displays a specific character on the VEX LCD. | ||||||
| ||||||
|