TextLCD library for controlling various LCD panels based on the HD44780 4-bit interface. forked from simon/textLCD and modified a bit
Fork of TextLCD by
Diff: TextLCD.cpp
- Revision:
- 8:228a730399f3
- Parent:
- 7:44f34c09bd37
--- a/TextLCD.cpp Sat Dec 04 11:29:57 2010 +0000 +++ b/TextLCD.cpp Sun Oct 27 09:15:48 2013 +0000 @@ -54,6 +54,12 @@ } void TextLCD::cls() { + //writeCommand(0x01); // cls, and set cursor to 0 + //wait(0.00164f); // This command takes 1.64 ms + locate(0, 0); +} + +void TextLCD::cls_all() { writeCommand(0x01); // cls, and set cursor to 0 wait(0.00164f); // This command takes 1.64 ms locate(0, 0);