Grove - Serial LCD

Fork of Grove_Serial_LCD by Seeed Studio

Revision:
1:83ce5e2a368a
Parent:
0:289aecd28ddc
Child:
2:a166e203e4cf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SerialLCD.h	Wed Oct 23 02:19:38 2013 +0000
@@ -0,0 +1,46 @@
+/*
+  SerialLCD.h - Serial LCD driver Library
+  
+  2010-2013 Copyright (c) Seeed Technology Inc (www.seeedstudio.com)  
+  Authors: Jimbo.We, Visweswara R and Frankie.Chu  (Orignially written for Seeeduino)
+  
+  This library can be used under Apache License 2.0 or MIT License.
+*/
+
+#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[]);
+
+};
+
+#endif