Removed example code and keep only the library.

Dependents:   Arch_GroveSerialLCD_Ex1 Arch_GroveSerialLCD_Ex2

Fork of Grove_Serial_LCD by Seeed Studio

Revision:
0:289aecd28ddc
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SerialLCD/SerialLCD.h	Mon Sep 23 02:15:27 2013 +0000
@@ -0,0 +1,65 @@
+/*
+  SerialLCD.h - Serial LCD driver Library
+  2010 Copyright (c) Seeed Technology Inc.  All right reserved.
+ 
+  Original Author: Jimbo.We
+  Contribution: Visweswara R 
+  
+  Modified 15 March,2012 for Arduino 1.0 IDE
+  by Frankie.Chu
+  
+  This library is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  This library is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public
+  License along with this library; if not, write to the Free Software
+  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+*/
+
+#ifndef __SERIAL_LCD_H__
+#define __SERIAL_LCD_H__
+
+#include "mbed.h"
+
+
+
+class SerialLCD : public Serial {
+public:
+
+    SerialLCD(PinName, PinName);
+    void begin();
+    void clear();
+    void home();
+
+    void noDisplay();
+    void display();
+    void noBlink();
+    void blink();
+    void noCursor();
+    void cursor();
+    void scrollDisplayLeft();
+    void scrollDisplayRight();
+    void leftToRight();
+    void rightToLeft();
+    void autoscroll();
+    void noAutoscroll();
+
+    void setCursor(uint8_t, uint8_t);
+    void noPower(void);
+    void Power(void);
+    void noBacklight(void);
+    void backlight(void);
+    void print(uint8_t b);
+    void print(const char[]);
+    void print(unsigned long n, uint8_t base);
+
+};
+
+#endif