Programming LCD Display

How do we program an LCD Display, as well as how we read one?

If you are using RobotC, use the following functions:


clearLCDLine(line);

to clear a line of the LCD


displayLCDNumber(line, pos, value, precision);

to display a numerical value


displayLCDString(line, pos, string);

to display a string of characters


line

is the line number, 0 (top) or 1 (bottom)


pos

is the horizontal position of the first output character, 0 (leftmost) to 15 (rightmost)


value

is the numerical value to display


precision

is the number of decimal digits of that numerical value to display


string

is the string to display

There are a few more LCD functions, but these are the basics and (technically) all you need.