sparkfun Compatible Serial LCD

Revision:
0:f30bad3f815d
diff -r 000000000000 -r f30bad3f815d SerialLcd.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SerialLcd.h	Thu Jul 11 19:17:02 2013 +0000
@@ -0,0 +1,23 @@
+#ifndef MBED_SERIALLCD_H
+#define MBED_SERIALLCD_H
+
+#include "mbed.h"
+#include "stdarg.h"
+
+class SerialLcd : public Stream
+{
+public:
+    SerialLcd(PinName);
+    
+    void cls();
+    void locate(int,int);
+private:
+    virtual int _putc(int value);
+    virtual int _getc();
+    Serial _lcd;
+    int LCD_addr;
+    char LCD_cmd;
+    char LCD_data;
+    int LCD_contrast;
+};
+#endif
\ No newline at end of file