LiquidCrystal \ Libraries \ Wiring 1.0 (ALPHA)

| Index

| Reference for Wiring 1.0 (ALPHA) 0021+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.

Name |  | ### home()
Examples |  |
    #include <LiquidCrystal.h>

    LiquidCrystal myDisplay = LiquidCrystal(0,1,2,2);

    void setup()
    {
    }

    int a = 0;

    void loop()
    {
      myDisplay.clear();
      myDisplay.home();
      myDisplay.print("Variable a is: ");
      myDisplay.setCursor(16, 0);
      myDisplay.print(a);
      a = a + 1;
      delay(200);
    }
Description |  | The home() method positions the cursor in the first row and column of the LCD screen.
Syntax |  |
    display.home()
Parameters |  |
display |  | The LiquidCrystal object
Returns |  | None
Usage |  | Application