back to FEHLCD
Description
This function is used to write one data type to the screen. Please note that this function can only accept one argument to print at a time; however, it also takes a row/column number of where to update the screen (max rows = 14, max columns = 26). The row and column identifiers are zero-indexed, and are referenced from the upper left-hand corner.
Syntax
.WriteRC( to_print, int row, int col )
Parameters
to_print
: a variable that could be a string, character, integer, or float that you wish to print to the screen.
row
: integer row index (min 0, max 13)
col
: integer col index (min 0, max 25)
Returns
None.
Examples
#include <FEHLCD.h> int main(void) { //Write "Hello World" to the middle of the screen LCD.WriteRC("Hello World",7,8); }