Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Class | LiquidCrystal |
||
---|---|---|---|
Name | clear() |
||
Examples | #include "LiquidCrystal.h" LiquidCrystal myDisplay = LiquidCrystal(0,1,2,2); int a = 0; void setup() { } 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 clear() method clears the LCD screen. | ||
Syntax | display.clear()
|
||
Parameters |
|
||
Returns | None | ||
Usage | Application |