.printCursor
DESCRIPTION
Combination of lcd.print() and lcd.setCursor() functions. You can call lcd.printCursor() with the coordinates and what is to be print it.
SYNTAX
lcd.printCursor(x,y,type);
PARAMETERS
printCursor(x,y,String)
printCursor(x,y,byte)
printCursor(x,y,char)
printCursor(x,y,int)
printCursor(x,y,unsigned int)
printCursor(x,y,unsigned long)
printCursor(x,y,float)
printCursor(x,y,long)
RETURNS
None.
EXAMPLE
#include
#include
InvIoT_U1 lcd(A0,A1); void setup() { lcd.printCursor(0,0,"First Line"); lcd.printCursor(3,1,"Second"); lcd.printCursor(6,2,"3rd Line"); lcd.printCursor(10,3,"and 4th!"); } int i=0; void loop() { lcd.printCursor(0,3,i++); delay(1000); }
SEE ALSO
.print
.setCursor
.clear