Index
 
  Reference for Wiring 1.0 (ALPHA) 0022+. 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  

LiquidCrystal

   
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 Wiring LiquidCrystal library allows for writing data to a external text based liquid crystal display (LCD). The LCD can be any generic text based display with the H44780 controler.
   
Syntax  
LiquidCrystal(rs, rw, e, port)
   
Parameters  
rs   The pin connected to the R/S signal on the display

rw   The pin connected to the R/W signal on the display

e   The pin connected to the E signal on the display

port   The port used to connect the D0..D7 signals on the display

   
Methods  
clear()
 

home()
 

setCursor()
 

print()
 

println()
 

   
Returns   None
   
Usage   Application